[gtk+] Deal with the abscence of horizontal/vertical class when rendering an expander



commit 8ad724ebcc07a5cd167bfde8c9387a9b8da96fdd
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jan 12 22:07:34 2011 +0100

    Deal with the abscence of horizontal/vertical class when rendering an expander

 gtk/gtkthemingengine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index ac1a462..47bb353 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -2032,7 +2032,7 @@ gtk_theming_engine_render_expander (GtkThemingEngine *engine,
   if (!running)
     progress = (flags & GTK_STATE_FLAG_ACTIVE) ? 1 : 0;
 
-  if (gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_VERTICAL))
+  if (!gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_HORIZONTAL))
     {
       if (is_rtl)
         angle = (G_PI) - ((G_PI / 2) * progress);



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