diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-06-29 13:34:14 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-02 14:59:26 +0200 |
commit | 7733f646d6985f2d90e43507b8063719e44288ba (patch) | |
tree | 88f3797341f89f429779920e724798bb17a6e564 /tests/testentryicons.c | |
parent | 88b4076fe5146c84e5a9fb590371c50917be604e (diff) | |
download | gtk+-7733f646d6985f2d90e43507b8063719e44288ba.tar.gz |
gdk: Rename GdkDragContext to GdkDrag
This is to go along with the newly introduced GdkDrop.
This commit includes the necessary updates to the X11, Wayland
and Broadway backends. Other backends have to be updated separately.
Diffstat (limited to 'tests/testentryicons.c')
-rw-r--r-- | tests/testentryicons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testentryicons.c b/tests/testentryicons.c index 3395c879ae..bbc8eeb4bd 100644 --- a/tests/testentryicons.c +++ b/tests/testentryicons.c @@ -10,19 +10,19 @@ clear_pressed (GtkEntry *entry, gint icon, gpointer data) static void drag_begin_cb (GtkWidget *widget, - GdkDragContext *context, + GdkDrag *drag, gpointer user_data) { gint pos; pos = gtk_entry_get_current_icon_drag_source (GTK_ENTRY (widget)); if (pos != -1) - gtk_drag_set_icon_name (context, "dialog-information", 2, 2); + gtk_drag_set_icon_name (drag, "dialog-information", 2, 2); } static void drag_data_get_cb (GtkWidget *widget, - GdkDragContext *context, + GdkDrag *drag, GtkSelectionData *data, gpointer user_data) { |