[gtk/dnd-gestures-2: 28/30] filechooser: Stop using gtk_drag_source_get_drag
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dnd-gestures-2: 28/30] filechooser: Stop using gtk_drag_source_get_drag
- Date: Tue, 7 Jan 2020 01:56:02 +0000 (UTC)
commit 57a16a4d1a247d05fdf4f8866ce16da0ca920469
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 6 20:42:18 2020 -0500
filechooser: Stop using gtk_drag_source_get_drag
gtk/gtkfilechooserwidget.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 1dc319e094..0c18d21d0a 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2044,10 +2044,10 @@ file_list_drag_drop_cb (GtkDropTarget *dest,
static void
file_list_drag_begin_cb (GtkDragSource *source,
+ GdkDrag *drag.
GtkFileChooserWidget *impl)
{
GtkFileChooserWidgetPrivate *priv = gtk_file_chooser_widget_get_instance_private (impl);
- GdkDrag *drag = gtk_drag_source_get_drag (source);
gtk_places_sidebar_set_drop_targets_visible (GTK_PLACES_SIDEBAR (priv->places_sidebar), TRUE, drag);
}
@@ -2066,10 +2066,11 @@ file_list_drag_motion_cb (GtkDropTarget *dest,
static void
file_list_drag_end_cb (GtkDragSource *source,
+ GdkDrag *drag,
+ gboolean delete_data,
GtkFileChooserWidget *impl)
{
GtkFileChooserWidgetPrivate *priv = gtk_file_chooser_widget_get_instance_private (impl);
- GdkDrag *drag = gtk_drag_source_get_drag (source);
gtk_places_sidebar_set_drop_targets_visible (GTK_PLACES_SIDEBAR (priv->places_sidebar), FALSE, drag);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]