summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-12-31 17:04:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-01-08 18:48:19 -0500
commitefce8c28996a1211a067eff137648c8589ea1429 (patch)
tree442bf83bd3bee2a44a94c168f51c6322bed87a65 /gtk/gtkiconview.h
parentea9f2abcc4323112bc7e3cf12b4ee12706bca659 (diff)
downloadgtk+-efce8c28996a1211a067eff137648c8589ea1429.tar.gz
iconview: Port to GtkDragSource
A small api change here is that gtk_icon_view_enable_model_drag_source now returns a GtkDragSource that can be used to connect signals.
Diffstat (limited to 'gtk/gtkiconview.h')
-rw-r--r--gtk/gtkiconview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h
index 56fccfc3d4..41fd376926 100644
--- a/gtk/gtkiconview.h
+++ b/gtk/gtkiconview.h
@@ -28,6 +28,7 @@
#include <gtk/gtkcellarea.h>
#include <gtk/gtkselection.h>
#include <gtk/gtktooltip.h>
+#include <gtk/gtkdragsource.h>
G_BEGIN_DECLS
@@ -213,7 +214,7 @@ void gtk_icon_view_scroll_to_path (GtkIconView *icon_
/* Drag-and-Drop support */
GDK_AVAILABLE_IN_ALL
-void gtk_icon_view_enable_model_drag_source (GtkIconView *icon_view,
+GtkDragSource * gtk_icon_view_enable_model_drag_source (GtkIconView *icon_view,
GdkModifierType start_button_mask,
GdkContentFormats *formats,
GdkDragAction actions);