summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trashapplet/src/trashapplet.c2
-rw-r--r--trashapplet/src/xstuff.c2
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;