[gtk-theme-engine-clearlooks] Retrieve correct property for radius
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-theme-engine-clearlooks] Retrieve correct property for radius
- Date: Mon, 6 Dec 2010 21:21:21 +0000 (UTC)
commit d38b16b9567456f7f692b57c17f547e9786ad8ca
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]