diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-17 00:28:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-20 23:12:33 +0100 |
commit | c863ac0f90dfdeea5e17293594686063187d689c (patch) | |
tree | f5b7d2ed616a3cf905537f9257a17e5d86e291dc /testsuite | |
parent | 49d02eff931a43f88d4efb31be249742fe3be6f7 (diff) | |
download | gtk+-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 'testsuite')
-rw-r--r-- | testsuite/gtk/clipboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gtk/clipboard.c b/testsuite/gtk/clipboard.c index 08fd4c351e..8e0f412ad3 100644 --- a/testsuite/gtk/clipboard.c +++ b/testsuite/gtk/clipboard.c @@ -66,7 +66,7 @@ static void test_with_data (void) { GtkClipboard *clipboard = gtk_clipboard_get_for_display (gdk_display_get_default (), GDK_SELECTION_CLIPBOARD); - GtkTargetEntry entries[] = { { .target = TARGET_TEXT } }; + const char *entries[] = { TARGET_TEXT }; GtkTargetList *targets; targets = gtk_target_list_new (entries, G_N_ELEMENTS(entries)); |