summaryrefslogtreecommitdiff
path: root/tests/testdnd2.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-05 17:23:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-01-08 18:48:20 -0500
commit46f42fc53d62569282c539c3b5d325b2a8d0e63b (patch)
tree83fbe319ed4d2ac4705e49e8e013aceebf0415fb /tests/testdnd2.c
parentcb26cd7391888e31a75c52055f41531b97469e2f (diff)
downloadgtk+-46f42fc53d62569282c539c3b5d325b2a8d0e63b.tar.gz
droptarget: Drop defaults flags
These no longer have any effect. Update all callers.
Diffstat (limited to 'tests/testdnd2.c')
-rw-r--r--tests/testdnd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdnd2.c b/tests/testdnd2.c
index 465c4de792..1911346026 100644
--- a/tests/testdnd2.c
+++ b/tests/testdnd2.c
@@ -305,7 +305,7 @@ make_image (const gchar *icon_name, int hotspot)
g_signal_connect (source, "drag-failed", G_CALLBACK (drag_failed), NULL);
gtk_drag_source_attach (source, image, GDK_BUTTON1_MASK|GDK_BUTTON2_MASK|GDK_BUTTON3_MASK);
- dest = gtk_drop_target_new (GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_HIGHLIGHT, formats, GDK_ACTION_COPY|GDK_ACTION_MOVE|GDK_ACTION_ASK);
+ dest = gtk_drop_target_new (formats, GDK_ACTION_COPY|GDK_ACTION_MOVE|GDK_ACTION_ASK);
g_signal_connect (dest, "drag-drop", G_CALLBACK (image_drag_drop), image);
gtk_drop_target_attach (dest, image);