summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-06-14 16:23:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-06-15 18:21:28 -0400
commitb09087d6345650cb70465ca6c5fbb11c3f9339cb (patch)
tree6df83c19f5c434b4e243d28ef85b39eb0c5ef33f /gtk/gtkplacessidebar.c
parenta6b4e53dca3fb63c143f4e1208bcc81950a95f61 (diff)
downloadgtk+-b09087d6345650cb70465ca6c5fbb11c3f9339cb.tar.gz
droptarget: Rename :drop to :current-drop
Rename the GtkDropTraget:drop property to :current-drop, to avoid naming collision with the signal of the same name. We leave the old property and getter in place, deprecated and marked as non-introspectable. Fixes: #4028
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index d4a1f74e5d..f1081bfd7c 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -1851,7 +1851,7 @@ drag_drop_callback (GtkDropTarget *target,
emit_drag_perform_drop (sidebar,
dest_file,
g_value_get_boxed (value),
- gdk_drop_get_actions (gtk_drop_target_get_drop (target)));
+ gdk_drop_get_actions (gtk_drop_target_get_current_drop (target)));
g_object_unref (dest_file);
}