]> Pileus Git - ~andy/gtk/commitdiff
Deal with the abscence of horizontal/vertical class when rendering an expander
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 12 Jan 2011 21:07:34 +0000 (22:07 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 12 Jan 2011 21:07:34 +0000 (22:07 +0100)
gtk/gtkthemingengine.c

index ac1a462ee624eb64306e459a546ca1ad7f3a4baa..47bb3537a6bc97eff17a2130c01310ca82ec21a9 100644 (file)
@@ -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);