summaryrefslogtreecommitdiff
path: root/tests/testdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-17 00:28:53 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-20 23:12:33 +0100
commitc863ac0f90dfdeea5e17293594686063187d689c (patch)
treef5b7d2ed616a3cf905537f9257a17e5d86e291dc /tests/testdnd.c
parent49d02eff931a43f88d4efb31be249742fe3be6f7 (diff)
downloadgtk+-c863ac0f90dfdeea5e17293594686063187d689c.tar.gz
dnd: Remove GtkTargetEntry and GtkTargetFlags
warning: We don't do any same-app checks anymore so you currently can copy local data into external apps. This will be fixed later.
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r--tests/testdnd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c
index 1e0a682020..0f2d541cbd 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -289,10 +289,10 @@ GdkPixbuf *trashcan_closed;
gboolean have_drag;
-static GtkTargetEntry target_table[] = {
- { "STRING", 0 },
- { "text/plain", 0 },
- { "application/x-rootwindow-drop", 0 }
+static const char *target_table[] = {
+ "STRING",
+ "text/plain",
+ "application/x-rootwindow-drop"
};
static guint n_targets = sizeof(target_table) / sizeof(target_table[0]);