summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-12-30 05:56:57 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-12-30 05:56:57 +0000
commitbbc4891e3da1a915bb2c5ef4564838fa7ebe61c9 (patch)
tree340bea94d37085b68b0717e6833959aa4baff7c7 /gtk/gtkstyle.c
parentb09a8c3a691462fdecb42be99031c60f31dfb7e5 (diff)
downloadgdk-pixbuf-bbc4891e3da1a915bb2c5ef4564838fa7ebe61c9.tar.gz
Doc additions
svn path=/trunk/; revision=22012
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 36b56b2b4..cc34fde0f 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -855,6 +855,17 @@ gtk_style_realize (GtkStyle *style,
g_signal_emit (style, realize_signal, 0);
}
+/**
+ * gtk_style_lookup_icon_set:
+ * @style: a #GtkStyle
+ * @stock_id: an icon name
+ *
+ * Looks up @stock_id in the icon factories associated with @style
+ * and the default icon factory, returning an icon set if found,
+ * otherwise %NULL.
+ *
+ * Return value: icon set of @stock_id
+ */
GtkIconSet*
gtk_style_lookup_icon_set (GtkStyle *style,
const char *stock_id)