projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4630dd8
)
pathbar: Use gtk_widget_add_controller for drag source
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 7 Jan 2020 06:08:51 +0000
(
01:08
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jan 2020 23:48:21 +0000
(18:48 -0500)
gtk/gtkpathbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpathbar.c
b/gtk/gtkpathbar.c
index 248ff308aee6ec879f59bacb21a13563c10880c6..37a7b05487216364129483e83f509671a5bf84ef 100644
(file)
--- a/
gtk/gtkpathbar.c
+++ b/
gtk/gtkpathbar.c
@@
-1370,7
+1370,7
@@
make_directory_button (GtkPathBar *path_bar,
content = gdk_content_provider_new_for_value (&value);
gtk_drag_source_set_content (source, content);
g_object_unref (content);
- gtk_
drag_source_attach (source, button_data->button, GDK_BUTTON1_MASK
);
+ gtk_
widget_add_controller (button_data->button, GTK_EVENT_CONTROLLER (source)
);
g_value_unset (&value);
return button_data;