summaryrefslogtreecommitdiff
path: root/gtk/gtkthemingengine.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-11 03:40:10 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-14 04:28:34 +0200
commitbb7a5691a9686e0e1e9bf6d17bd91a193d495da6 (patch)
tree48c2f22e9f88639b8a2cf6b4f3298075700545ba /gtk/gtkthemingengine.c
parent5d1b5c13fb4771c1d3de2deafedd0cd678c4cd35 (diff)
downloadgtk+-bb7a5691a9686e0e1e9bf6d17bd91a193d495da6.tar.gz
themingengine: Implement icon drawing for checks and options
Diffstat (limited to 'gtk/gtkthemingengine.c')
-rw-r--r--gtk/gtkthemingengine.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 6f428b1764..fe6a045cf7 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1067,6 +1067,9 @@ gtk_theming_engine_render_check (GtkThemingEngine *engine,
gint border_width;
GtkThemingBackground bg;
+ if (render_icon_image (engine, cr, x, y, width, height))
+ return;
+
_gtk_theming_background_init (&bg, engine,
x, y,
width, height,
@@ -1189,6 +1192,9 @@ gtk_theming_engine_render_option (GtkThemingEngine *engine,
GtkBorder border;
GtkThemingBackground bg;
+ if (render_icon_image (engine, cr, x, y, width, height))
+ return;
+
_gtk_theming_background_init (&bg, engine,
x, y,
width, height,