aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-04-11 10:53:08 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-04-11 10:53:08 -0500
commit499bd670623fc8d4cfa54fada507c01fe6f7a671 (patch)
tree4a7f38f1ed8482f15e73762cf2ad121928f2d186 /libindicator/indicator-image-helper.c
parent0bd650dc505f15467641e4f975c20d6e039042ff (diff)
parent21ef9a512f68c92981cd039abc46aa10dc38b91d (diff)
downloadlibayatana-indicator-499bd670623fc8d4cfa54fada507c01fe6f7a671.tar.gz
libayatana-indicator-499bd670623fc8d4cfa54fada507c01fe6f7a671.tar.bz2
libayatana-indicator-499bd670623fc8d4cfa54fada507c01fe6f7a671.zip
* New upstream release.
* Validate images in image_helper_update() (LP: #946408)
Diffstat (limited to 'libindicator/indicator-image-helper.c')
-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 */