[gtk+/wip/css-icons: 14/15] themingengine: Draw icons for arrows



commit 307db22a5599a423c675cef0887e0db77454644e
Author: Benjamin Otte <otte redhat com>
Date:   Sun May 11 03:59:32 2014 +0200

    themingengine: Draw icons for arrows

 gtk/gtkthemingengine.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 36892ed..910d7b6 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1309,6 +1309,9 @@ gtk_theming_engine_render_arrow (GtkThemingEngine *engine,
   GtkStateFlags state;
   GdkRGBA color;
 
+  if (render_icon_image (engine, cr, x, y, size, size))
+    return;
+
   cairo_save (cr);
 
   line_width = size / 3.0 / sqrt (2);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]