summaryrefslogtreecommitdiff
path: root/gtk/gtkdragsource.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-10-23 14:16:31 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-10-23 14:16:31 +0200
commit493f5d6b1856229196ccc70362e35376bae085a6 (patch)
tree44e5d5399493c26dc2479da915889deaa19deffd /gtk/gtkdragsource.h
parentd3fc937b4ddad6462bfca6402ce0a186f98d4908 (diff)
downloadgtk+-493f5d6b1856229196ccc70362e35376bae085a6.tar.gz
dnd: Add more surface apis
The new function, gtk_drag_source_set_icon_surface, is for setting a drag source icon without using GdkPixbuf.
Diffstat (limited to 'gtk/gtkdragsource.h')
-rw-r--r--gtk/gtkdragsource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkdragsource.h b/gtk/gtkdragsource.h
index 2e3e2c39fb..cca2a9784c 100644
--- a/gtk/gtkdragsource.h
+++ b/gtk/gtkdragsource.h
@@ -62,6 +62,9 @@ void gtk_drag_source_add_uri_targets (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
GdkPixbuf *pixbuf);
+GDK_AVAILABLE_IN_3_94
+void gtk_drag_source_set_icon_surface (GtkWidget *widget,
+ cairo_surface_t *surface);
GDK_AVAILABLE_IN_ALL
void gtk_drag_source_set_icon_name (GtkWidget *widget,
const gchar *icon_name);