themingengine: Implement icon drawing for checks and options

This commit is contained in:
Benjamin Otte
2014-05-11 03:40:10 +02:00
parent 5d1b5c13fb
commit bb7a5691a9

View File

@ -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,