summaryrefslogtreecommitdiff
path: root/trashapplet/src/trashapplet.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-07-06 15:24:58 +0200
committerraveit65 <[email protected]>2018-07-10 11:50:06 +0200
commit1a11a017d60cd28493423d9ca192a7be69b910a6 (patch)
tree89e0406377e1887c7d087e0a9afe5bd8a444c0f7 /trashapplet/src/trashapplet.c
parent2c31e38596baf0faca1da8ac880479b4192be86a (diff)
downloadmate-applets-1a11a017d60cd28493423d9ca192a7be69b910a6.tar.bz2
mate-applets-1a11a017d60cd28493423d9ca192a7be69b910a6.tar.xz
trash: fix a -Wincompatible-pointer-types warning
Diffstat (limited to 'trashapplet/src/trashapplet.c')
-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));