diff options
author | Colin Walters <walters@verbum.org> | 2011-05-03 12:33:31 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-05-03 12:53:46 -0400 |
commit | b90e8cfc36261d17f84b2040609d1708327bc90f (patch) | |
tree | abf9794d36c3ec9bb80912871d0b9eeda4409ec4 /gtk/gtkdnd.h | |
parent | e36c9dffacee742c3bbf51e1d8cbc88d26108ab5 (diff) | |
download | gtk+-b90e8cfc36261d17f84b2040609d1708327bc90f.tar.gz |
gtkdnd: Add API that takes GIcon
This will be useful for me to port gnome-panel to gnome-menus 4, which
uses GAppInfo, which in turn returns icon references as GIcon.
https://bugzilla.gnome.org/show_bug.cgi?id=649295
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r-- | gtk/gtkdnd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h index a2dcab6a33..1a7afe7c72 100644 --- a/gtk/gtkdnd.h +++ b/gtk/gtkdnd.h @@ -155,6 +155,8 @@ void gtk_drag_source_set_icon_stock (GtkWidget *widget, const gchar *stock_id); void gtk_drag_source_set_icon_name (GtkWidget *widget, const gchar *icon_name); +void gtk_drag_source_set_icon_gicon (GtkWidget *widget, + GIcon *icon); /* There probably should be functions for setting the targets * as a GtkTargetList @@ -186,6 +188,10 @@ void gtk_drag_set_icon_name (GdkDragContext *context, const gchar *icon_name, gint hot_x, gint hot_y); +void gtk_drag_set_icon_gicon (GdkDragContext *context, + GIcon *icon, + gint hot_x, + gint hot_y); void gtk_drag_set_icon_default (GdkDragContext *context); |