summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-10-13 13:53:09 +0100
committerBastien Nocera <hadess@hadess.net>2009-10-14 13:22:14 +0100
commitdf53e6ad8b8939f1e7bb9a48987f972fec6cfa4c (patch)
tree3f96239e67bae47e9b497ff8026d169960e700b6 /gtk/gtktooltip.h
parent588bec91211977b311d9f2c808d3ff241fa53c38 (diff)
downloadgtk+-df53e6ad8b8939f1e7bb9a48987f972fec6cfa4c.tar.gz
Add ability to set a tooltip's image from a GIcon
Makes it easier to implement fallbacks whilst following theme changes. https://bugzilla.gnome.org/show_bug.cgi?id=598261
Diffstat (limited to 'gtk/gtktooltip.h')
-rw-r--r--gtk/gtktooltip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h
index 8039da6fbc..5271376798 100644
--- a/gtk/gtktooltip.h
+++ b/gtk/gtktooltip.h
@@ -48,6 +48,9 @@ void gtk_tooltip_set_icon_from_stock (GtkTooltip *tooltip,
void gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip,
const gchar *icon_name,
GtkIconSize size);
+void gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip,
+ GIcon *gicon,
+ GtkIconSize size);
void gtk_tooltip_set_custom (GtkTooltip *tooltip,
GtkWidget *custom_widget);