aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-08-18 12:48:09 -0400
committerKen VanDine <ken.vandine@canonical.com>2010-08-18 12:48:09 -0400
commitab548526d5d94824e12dbd8c79a06daba0e33d64 (patch)
tree90f302ad7bd5a8e36a79550b69aab8bd4fdcdc97 /libindicator
parent79f7355391b87f88f79330f4d7507ef72c15734c (diff)
parent8839b12e3deb35d69a61edc87d0d8649b6459132 (diff)
downloadlibayatana-indicator-ab548526d5d94824e12dbd8c79a06daba0e33d64.tar.gz
libayatana-indicator-ab548526d5d94824e12dbd8c79a06daba0e33d64.tar.bz2
libayatana-indicator-ab548526d5d94824e12dbd8c79a06daba0e33d64.zip
releasing version 0.3.12-0ubuntu10.3.12-0ubuntu1
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-image-helper.c4
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;
}