From b73e72bcfea040aaf4ea681068676de3ee013ac8 Mon Sep 17 00:00:00 2001 From: Lucas Rocha Date: Sun, 27 May 2007 20:09:27 +0000 Subject: initialize GTK+ before parsing command line options to better handle 2007-05-27 Lucas Rocha * src/main.c: initialize GTK+ before parsing command line options to better handle errors on display setting (Fixes bug #410055). svn path=/trunk/; revision=1217 --- src/notification.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/notification.c') diff --git a/src/notification.c b/src/notification.c index 35747be4..b5cdd406 100644 --- a/src/notification.c +++ b/src/notification.c @@ -48,6 +48,7 @@ zenity_notification_icon_update (void) GError *error = NULL; pixbuf = gdk_pixbuf_new_from_file_at_scale (icon_file, icon_size, icon_size, TRUE, &error); + if (error) { g_warning ("Could not load notification icon '%s': %s", icon_file, error->message); -- cgit