aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-29 13:50:56 -0700
committerCharles Kerr <charles.kerr@canonical.com>2012-03-29 13:50:56 -0700
commit4ecaca4861ec00e19936e9655de38c118bdc9a62 (patch)
tree1ac030eddd79f83c8f1618a84bc85dd316d6f697 /libindicator/indicator-image-helper.c
parent67872e2808a7c4f4d414822198e4a3f951bdf411 (diff)
parent5a839c4176325651423480b7f9770f959bf37f32 (diff)
downloadlibayatana-indicator-4ecaca4861ec00e19936e9655de38c118bdc9a62.tar.gz
libayatana-indicator-4ecaca4861ec00e19936e9655de38c118bdc9a62.tar.bz2
libayatana-indicator-4ecaca4861ec00e19936e9655de38c118bdc9a62.zip
Import upstream version 0.4.94
Diffstat (limited to 'libindicator/indicator-image-helper.c')
-rw-r--r--libindicator/indicator-image-helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c
index 23b08d0..6ad2a44 100644
--- a/libindicator/indicator-image-helper.c
+++ b/libindicator/indicator-image-helper.c
@@ -74,6 +74,7 @@ refresh_image (GtkImage * image)
if (pixbuf == NULL) {
g_warning("Unable to load icon from file '%s' because: %s", icon_filename, error == NULL ? "I don't know" : error->message);
+ g_clear_error (&error);
gtk_image_clear(image);
return;
}