diff options
author | Lucas Rocha <lucasr@gnome.org> | 2007-05-27 20:09:27 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2007-05-27 20:09:27 +0000 |
commit | b73e72bcfea040aaf4ea681068676de3ee013ac8 (patch) | |
tree | f12aebf251c0459d7053b248c929704132745fd5 /src/notification.c | |
parent | feba0d3136651f7ea15bfad8e3f61b2e096a5d3c (diff) |
initialize GTK+ before parsing command line options to better handle
2007-05-27 Lucas Rocha <lucasr@gnome.org>
* 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
Diffstat (limited to 'src/notification.c')
-rw-r--r-- | src/notification.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notification.c b/src/notification.c index 35747be..b5cdd40 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); |