From a4777781d1b7c0294048e78dbc758de238b386c2 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Mon, 31 Jan 2005 22:17:38 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ THANKS | 3 ++- src/about.c | 3 ++- src/notification.c | 3 ++- src/option.c | 3 ++- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 51d67de..4fd3d59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-02-01 Glynn Foster + + * src/notification.c, src/option.c: Patch from Chris + Lahey for #165456. + * src/about.c, THANKS: Updated. + 2005-01-17 Glynn Foster * configure.in: Post release bump. diff --git a/THANKS b/THANKS index 584075e..5310ea4 100644 --- a/THANKS +++ b/THANKS @@ -18,7 +18,8 @@ "John Fleck ", "Sebastian Heinlein ", "James Henstridge ", - "Mihai T Lazarescu ", + "Chris Lahey ", + "Mihai T Lazarescu ", "Sebastian Kapfer ", "Tomasz Koczko ", "Jordi Mallach ", 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 */