Skip to content

Commit 1a11a01

Browse files
author
raveit65
committed
trash: fix a -Wincompatible-pointer-types warning
1 parent 2c31e38 commit 1a11a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎trashapplet/src/trashapplet.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ trash_applet_init (TrashApplet *applet)
221221
GTK_WIDGET (applet));
222222

223223
/* setup the image */
224-
applet->image = g_object_ref_sink (gtk_image_new ());
224+
applet->image = g_object_ref_sink (GTK_IMAGE (gtk_image_new ()));
225225
gtk_container_add (GTK_CONTAINER (applet),
226226
GTK_WIDGET (applet->image));
227227
gtk_widget_show (GTK_WIDGET (applet->image));

0 commit comments

Comments
 (0)