summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trashapplet/src/trashapplet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index 3c13c527..3bca247a 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -221,7 +221,7 @@ trash_applet_init (TrashApplet *applet)
GTK_WIDGET (applet));
/* setup the image */
- applet->image = g_object_ref_sink (gtk_image_new ());
+ applet->image = g_object_ref_sink (GTK_IMAGE (gtk_image_new ()));
gtk_container_add (GTK_CONTAINER (applet),
GTK_WIDGET (applet->image));
gtk_widget_show (GTK_WIDGET (applet->image));