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/testnotebookdnd.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/testnotebookdnd.c')
-rw-r--r-- | tests/testnotebookdnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c index 5771896128..a0b321eb41 100644 --- a/tests/testnotebookdnd.c +++ b/tests/testnotebookdnd.c @@ -93,7 +93,7 @@ on_page_reordered (GtkNotebook *notebook, GtkWidget *child, guint page_num, gpoi static void on_notebook_drag_begin (GtkWidget *widget, - GdkDragContext *context, + GdkDrag *drag, gpointer data) { guint page_num; @@ -101,7 +101,7 @@ on_notebook_drag_begin (GtkWidget *widget, page_num = gtk_notebook_get_current_page (GTK_NOTEBOOK (widget)); if (page_num > 2) - gtk_drag_set_icon_name (context, + gtk_drag_set_icon_name (drag, (page_num % 2) ? "help-browser" : "process-stop", 0, 0); } |