From 3e60b7c1317eb7cfaf6079d2defb09bd07c93342 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 27 Nov 2020 12:12:03 +0100 Subject: trashapplet: Remove warning about missing initializer --- trashapplet/src/trashapplet.c | 2 +- trashapplet/src/xstuff.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c index 7cce92e6..8704b47f 100644 --- a/trashapplet/src/trashapplet.c +++ b/trashapplet/src/trashapplet.c @@ -211,7 +211,7 @@ trash_applet_dispose (GObject *object) static void trash_applet_init (TrashApplet *applet) { - const GtkTargetEntry drop_types[] = { { "text/uri-list" } }; + const GtkTargetEntry drop_types[] = { { "text/uri-list", 0, 0 } }; /* needed to clamp ourselves to the panel size */ mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_EXPAND_MINOR); diff --git a/trashapplet/src/xstuff.c b/trashapplet/src/xstuff.c index b7432a09..91c8c8fe 100644 --- a/trashapplet/src/xstuff.c +++ b/trashapplet/src/xstuff.c @@ -42,7 +42,7 @@ draw_zoom_animation (GdkScreen *gscreen, int i, j; GC frame_gc; XGCValues gcv; - GdkColor color = { 65535, 65535, 65535 }; + GdkColor color = { 0, 65535, 65535, 65535 }; Display *dpy; Window root_win; int screen; -- cgit v1.2.1