[gtk-engines] Assume that row-ending-details are always present.
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-engines] Assume that row-ending-details are always present.
- Date: Sun, 10 Oct 2010 12:55:49 +0000 (UTC)
commit c089710d0b0afb9870ecbf849b4f5657a86a2b4a
Author: Benjamin Berg <benjamin sipsolutions net>
Date: Sun Oct 10 13:00:40 2010 +0200
Assume that row-ending-details are always present.
engines/clearlooks/src/clearlooks_style.c | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/engines/clearlooks/src/clearlooks_style.c b/engines/clearlooks/src/clearlooks_style.c
index c836651..e315fa5 100644
--- a/engines/clearlooks/src/clearlooks_style.c
+++ b/engines/clearlooks/src/clearlooks_style.c
@@ -1523,20 +1523,7 @@ clearlooks_style_draw_focus (GtkStyle *style, cairo_t *cr, GtkStateType state_ty
}
else
{
- /* This may either mean no continuation, or unknown ...
- * if it is unknown we assume it continues on both sides */
- gboolean row_ending_details = FALSE;
-
- /* Try to get the style property. */
- if (widget)
- gtk_widget_style_get (widget,
- "row-ending-details", &row_ending_details,
- NULL);
-
- if (row_ending_details)
- focus.continue_side = CL_CONT_NONE;
- else
- focus.continue_side = CL_CONT_LEFT | CL_CONT_RIGHT;
+ focus.continue_side = CL_CONT_NONE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]