diff options
author | Ted Gould <ted@gould.cx> | 2010-08-18 11:02:28 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-18 11:02:28 -0500 |
commit | d0975614e095e07b839eebbfcb8ac14d8124c19b (patch) | |
tree | 8dd0229382d0b76a6447ee7ca5aeb79b2ed67572 /libindicator | |
parent | 1c80632cb5c3aa06e9788eb35122d3bd7e717e08 (diff) | |
parent | 5c85a799d1b5bd613177ff80bf36d11f13afec1e (diff) | |
download | libayatana-indicator-d0975614e095e07b839eebbfcb8ac14d8124c19b.tar.gz libayatana-indicator-d0975614e095e07b839eebbfcb8ac14d8124c19b.tar.bz2 libayatana-indicator-d0975614e095e07b839eebbfcb8ac14d8124c19b.zip |
* New upstream release.
* Removing a g_error that was breaking Unity on failed icons
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-image-helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c index 6b11f6f..b404b8f 100644 --- a/libindicator/indicator-image-helper.c +++ b/libindicator/indicator-image-helper.c @@ -50,6 +50,7 @@ refresh_image (GtkImage * image) icon_filename = names[1]; } else { g_warning("Unable to find icon\n"); + gtk_image_clear(image); return; } } else { @@ -67,7 +68,8 @@ refresh_image (GtkImage * image) } if (pixbuf == NULL) { - g_error("Unable to load icon from file '%s' because: %s", icon_filename, error == NULL ? "I don't know" : error->message); + g_warning("Unable to load icon from file '%s' because: %s", icon_filename, error == NULL ? "I don't know" : error->message); + gtk_image_clear(image); return; } |