[gtk-theme-engine-clearlooks/gtk-style-context: 10/21] Retrieve correct property for radius



commit 8b28134c832e593b23f9393244f76249978e019f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Nov 16 00:54:11 2010 +0100

    Retrieve correct property for radius

 src/clearlooks_draw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/clearlooks_draw.c b/src/clearlooks_draw.c
index 09dc9a9..7de185e 100644
--- a/src/clearlooks_draw.c
+++ b/src/clearlooks_draw.c
@@ -161,7 +161,7 @@ clearlooks_draw_top_left_highlight (cairo_t *cr,
 
 	gtk_theming_engine_get (engine,
 				gtk_theming_engine_get_state (engine),
-				"radius", &radius,
+				"border-radius", &radius,
 				NULL);
 
 	ge_shade_color (color, clearlooks_engine->style_constants->topleft_highlight_shade, &hilight);
@@ -460,7 +460,7 @@ clearlooks_draw_entry (cairo_t *cr,
 
 	gtk_theming_engine_get (engine, state,
 				"background-color", &base,
-				"radius", &radius,
+				"border-radius", &radius,
 				NULL);
 
 	radius = MIN (radius, MIN ((width - 4.0) / 2.0, (height - 4.0) / 2.0));



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