summaryrefslogtreecommitdiff
path: root/trashapplet/src
diff options
context:
space:
mode:
Diffstat (limited to 'trashapplet/src')
-rw-r--r--trashapplet/src/trashapplet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index c159a93f..104fd10c 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -314,11 +314,7 @@ trash_applet_drag_motion (GtkWidget *widget,
GList *target;
/* refuse drops of panel applets */
-#if GTK_CHECK_VERSION (3, 0, 0)
for (target = gdk_drag_context_list_targets (context); target; target = target->next)
-#else
- for (target = context->targets; target; target = target->next)
-#endif
{
const char *name = gdk_atom_name (target->data);