From a4777781d1b7c0294048e78dbc758de238b386c2 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Mon, 31 Jan 2005 22:17:38 +0000 Subject: Patch from Chris Lahey for #165456. Updated. 2005-02-01 Glynn Foster * src/notification.c, src/option.c: Patch from Chris Lahey for #165456. * src/about.c, THANKS: Updated. --- src/about.c | 3 ++- src/notification.c | 3 ++- src/option.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/about.c b/src/about.c index d64d677..afcdec1 100644 --- a/src/about.c +++ b/src/about.c @@ -66,7 +66,8 @@ static const gchar *author_credits[] = { "John Fleck ", "Sebastian Heinlein ", "James Henstridge ", - "Mihai T Lazarescu ", + "Chris Lahey ", + "Mihai T Lazarescu ", "Sebastian Kapfer ", "Tomasz Koczko ", "Jordi Mallach ", diff --git a/src/notification.c b/src/notification.c index 63b1511..0a72385 100644 --- a/src/notification.c +++ b/src/notification.c @@ -75,6 +75,7 @@ zenity_notification_icon_press_callback (GtkWidget *widget, GdkEventButton *even zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK); gtk_main_quit (); + return TRUE; } static gboolean @@ -102,7 +103,7 @@ zenity_notification_icon_expose_callback (GtkWidget *widget, GdkEventExpose *eve return FALSE; } -static gboolean +static void zenity_notification_icon_destroy_callback (GtkWidget *widget, gpointer data) { ZenityData *zen_data; diff --git a/src/option.c b/src/option.c index 65b5373..cfc95e9 100644 --- a/src/option.c +++ b/src/option.c @@ -676,7 +676,8 @@ zenity_option_get_name (GOptionEntry *entries, gpointer arg_data) for (i = 1; entries[i].long_name != NULL; i++) { if (entries[i].arg_data == arg_data) return (gchar *) entries[i].long_name; - } + } + return NULL; } /* Error callback */ -- cgit v1.2.3-2-g168b