summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/about.c3
-rw-r--r--src/notification.c3
-rw-r--r--src/option.c3
3 files changed, 6 insertions, 3 deletions
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 <jfleck inkstain net>",
"Sebastian Heinlein <glatzor pimpzkru de>",
"James Henstridge <james daa com au>",
- "Mihai T Lazarescu <mihai email it>",
+ "Chris Lahey <clahey ximian com>",
+ "Mihai T Lazarescu <mihai email it>",
"Sebastian Kapfer <sebastian_kapfer web de>",
"Tomasz Koczko <kloczek pld org pl>",
"Jordi Mallach <jordi sindominio net>",
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 */