summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testdnd.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c
index 263e7f50d..f258c1b97 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -332,9 +332,12 @@ target_drag_drop (GtkWidget *widget,
gtk_pixmap_set (GTK_PIXMAP (widget), trashcan_closed, trashcan_closed_mask);
if (context->targets)
- gtk_drag_get_data (widget, context,
- GPOINTER_TO_INT (context->targets->data),
- time);
+ {
+ gtk_drag_get_data (widget, context,
+ GPOINTER_TO_INT (context->targets->data),
+ time);
+ return TRUE;
+ }
return FALSE;
}