diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-06 00:36:51 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-08 18:48:21 -0500 |
commit | 508570864dea3b857a0f62c3f2a1ace141be9806 (patch) | |
tree | 145859f2099f791eb29b4560d98ba622117eaacb /tests/testtreednd.c | |
parent | 96c77b61c1fb95a1a574bd54e4e3e44192fbbe36 (diff) | |
download | gtk+-508570864dea3b857a0f62c3f2a1ace141be9806.tar.gz |
Remove gtk_drop_target_get_target
Now that drop targets are event controllers,
we can just use gtk_event_controller_get_widget.
Update all callers.
Diffstat (limited to 'tests/testtreednd.c')
-rw-r--r-- | tests/testtreednd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreednd.c b/tests/testtreednd.c index 7de29236bc..47272c116c 100644 --- a/tests/testtreednd.c +++ b/tests/testtreednd.c @@ -94,7 +94,7 @@ got_text (GObject *source, gpointer data) { GtkDropTarget *dest = GTK_DROP_TARGET (source); - GtkWidget *widget = gtk_drop_target_get_target (dest); + GtkWidget *widget = gtk_event_controller_get_widget (GTK_EVENT_CONTROLLER (dest)); gchar *text; GtkSelectionData *selda; |