aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-04-11 13:09:40 -0400
committerKen VanDine <ken.vandine@canonical.com>2012-04-11 13:09:40 -0400
commitc606a9a190707c1780a577d14da03f337c7bf21e (patch)
tree13e38f9fd989c6c339ac4c906b8252ce7deb42fe /libindicator
parentd538aa44668e089474d8660ee98635e4146e8d0f (diff)
parent752101a51a2011ab17aa9f56aa847e087b167b28 (diff)
downloadlibayatana-indicator-c606a9a190707c1780a577d14da03f337c7bf21e.tar.gz
libayatana-indicator-c606a9a190707c1780a577d14da03f337c7bf21e.tar.bz2
libayatana-indicator-c606a9a190707c1780a577d14da03f337c7bf21e.zip
* New upstream release.
* Validate images in image_helper_update() (LP: #946408)
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-image-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c
index 6ad2a44..63488a1 100644
--- a/libindicator/indicator-image-helper.c
+++ b/libindicator/indicator-image-helper.c
@@ -143,7 +143,7 @@ indicator_image_helper_update (GtkImage * image, const gchar * name)
{
g_return_if_fail(name != NULL);
g_return_if_fail(name[0] != '\0');
- g_return_if_fail(image != NULL);
+ g_return_if_fail(GTK_IS_IMAGE(image));
gboolean seen_previously = FALSE;
/* Build us a GIcon */