summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-05-24 20:59:50 -0400
committerBenjamin Otte <otte@redhat.com>2011-06-09 23:17:09 +0200
commit514e77581a6813adfc0af7b5cffb35c7554dc7c2 (patch)
treed96a6fd794aa38bd67f0daeef5cc14eeeecc71f0 /gtk/gtkstylecontext.h
parent0cd810ff7c1f2372e7fd376be7fc427bbb69652e (diff)
downloadgtk+-514e77581a6813adfc0af7b5cffb35c7554dc7c2.tar.gz
stylecontext: add gtk_render_icon()
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index e687ff13e4..1a29c5174c 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -745,6 +745,11 @@ void gtk_render_activity (GtkStyleContext *context,
GdkPixbuf * gtk_render_icon_pixbuf (GtkStyleContext *context,
const GtkIconSource *source,
GtkIconSize size);
+void gtk_render_icon (GtkStyleContext *context,
+ cairo_t *cr,
+ GdkPixbuf *pixbuf,
+ gdouble x,
+ gdouble y);
G_END_DECLS