diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-07-03 20:37:31 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-12 13:02:42 +0200 |
commit | b94c3166bfdb8c0955b8bc13bf446476aff2abfd (patch) | |
tree | 76d0622f8f3f140db44248ead15864ff714433ae /gtk/gtkentry.c | |
parent | 7030e08f9c7b5670b43efd9f17ebfc8228e15bf3 (diff) | |
download | gtk+-b94c3166bfdb8c0955b8bc13bf446476aff2abfd.tar.gz |
dnd: Rename gtk_drag_begin_with_coordinates
Now that the coordiate-less variant is gone,
rename this back to the shorter gtk_drag_begin.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r-- | gtk/gtkentry.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 8ad735129e..bbed89d601 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -3029,11 +3029,11 @@ icon_drag_update_cb (GtkGestureDrag *gesture, x, y)) { icon_info->in_drag = TRUE; - gtk_drag_begin_with_coordinates (GTK_WIDGET (entry), - gtk_gesture_get_device (GTK_GESTURE (gesture)), - icon_info->target_list, - icon_info->actions, - start_x, start_y); + gtk_drag_begin (GTK_WIDGET (entry), + gtk_gesture_get_device (GTK_GESTURE (gesture)), + icon_info->target_list, + icon_info->actions, + start_x, start_y); } } @@ -3893,11 +3893,11 @@ gtk_entry_drag_gesture_update (GtkGestureDrag *gesture, gtk_entry_get_pixel_ranges (entry, &ranges, &n_ranges); - gtk_drag_begin_with_coordinates (widget, - gdk_event_get_device ((GdkEvent*) event), - target_list, actions, - priv->drag_start_x + ranges[0], - priv->drag_start_y); + gtk_drag_begin (widget, + gdk_event_get_device ((GdkEvent*) event), + target_list, actions, + priv->drag_start_x + ranges[0], + priv->drag_start_y); g_free (ranges); priv->in_drag = FALSE; |