summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-11 03:40:10 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-11 04:03:00 +0200
commit32449e08bc51b10f9b107542cf0db94826d77f20 (patch)
tree39182ce6282efd692f06960a79287836b8a2c44f
parenta331bab4828ea2639cd415ab8401025a0320ce53 (diff)
downloadgtk+-32449e08bc51b10f9b107542cf0db94826d77f20.tar.gz
themingengine: Implement icon drawing for checks and options
-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,