[murrine/gtk+3] Fix GtkArrow in scrollbars



commit 686d61c5d78bebfc851020a72285b6082d8a32a3
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Wed Oct 13 18:08:39 2010 +0200

    Fix GtkArrow in scrollbars

 src/murrine_style.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index 3befb89..b69ec0f 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -57,6 +57,8 @@
 
 #define STYLE_FUNCTION(function) (MURRINE_STYLE_GET_CLASS (style)->style_functions[params.style].function)
 
+#define PRINT_DETAIL(section,detail,widget) printf("%s: %s %s\n", section, detail, G_OBJECT_TYPE_NAME (widget));
+
 G_DEFINE_DYNAMIC_TYPE (MurrineStyle, murrine_style, GTK_TYPE_STYLE)
 
 static
@@ -1842,7 +1844,7 @@ murrine_style_draw_arrow (GtkStyle     *style,
 				height = 5; width = 4;
 			}
 		}
-		else if (DETAIL ("hscrollbar") || DETAIL ("vscrollbar"))
+		else if (g_str_has_prefix (detail, "hscrollbar") || g_str_has_prefix (detail, "vscrollbar"))
 		{
 			int steppersize;
 			gtk_widget_style_get (widget, "stepper-size", &steppersize, NULL);	



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