From efce8c28996a1211a067eff137648c8589ea1429 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 31 Dec 2019 17:04:01 -0500 Subject: 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. --- gtk/gtkiconview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtkiconview.h') 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 #include #include +#include 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); -- cgit v1.2.1