aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/genericmenuitem.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-24 07:38:28 -0600
committerTed Gould <ted@gould.cx>2012-01-24 07:38:28 -0600
commit8d18657e839ba4cf8db7b69753a7896bbef49089 (patch)
tree2b325e424d306fc6555e6dae42ea2599fbefafe9 /libdbusmenu-gtk/genericmenuitem.c
parent1da8653f7745fd81acd89ab6422160235264be81 (diff)
parent0845cb4986d649c38e7f9b9784af76539bfb2dea (diff)
downloadlibdbusmenu-8d18657e839ba4cf8db7b69753a7896bbef49089.tar.gz
libdbusmenu-8d18657e839ba4cf8db7b69753a7896bbef49089.tar.bz2
libdbusmenu-8d18657e839ba4cf8db7b69753a7896bbef49089.zip
Update to trunk
Diffstat (limited to 'libdbusmenu-gtk/genericmenuitem.c')
-rw-r--r--libdbusmenu-gtk/genericmenuitem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/genericmenuitem.c b/libdbusmenu-gtk/genericmenuitem.c
index 5488f93..ef77a2e 100644
--- a/libdbusmenu-gtk/genericmenuitem.c
+++ b/libdbusmenu-gtk/genericmenuitem.c
@@ -449,6 +449,7 @@ genericmenuitem_set_image (Genericmenuitem * menu_item, GtkWidget * image)
if (GTK_IS_IMAGE(child)) {
/* We've got a label, let's update it. */
imagew = GTK_IMAGE(child);
+ child = NULL;
} else if (GTK_IS_BOX(child)) {
/* Look for the label in the box */
gtk_container_foreach(GTK_CONTAINER(child), set_image_helper, &imagew);