From c863ac0f90dfdeea5e17293594686063187d689c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 17 Nov 2017 00:28:53 +0100 Subject: 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. --- tests/testdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/testdnd.c') 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]); -- cgit v1.2.1