diff options
author | rbuj <[email protected]> | 2020-11-27 12:12:03 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-04 22:37:36 +0100 |
commit | 3e60b7c1317eb7cfaf6079d2defb09bd07c93342 (patch) | |
tree | 02a723553d5f025332cc70228c968e2632de7552 /trashapplet | |
parent | e712870484b3ae86d971133ecffc88f1793898fe (diff) | |
download | mate-applets-3e60b7c1317eb7cfaf6079d2defb09bd07c93342.tar.bz2 mate-applets-3e60b7c1317eb7cfaf6079d2defb09bd07c93342.tar.xz |
trashapplet: Remove warning about missing initializer
Diffstat (limited to 'trashapplet')
-rw-r--r-- | trashapplet/src/trashapplet.c | 2 | ||||
-rw-r--r-- | 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; |