From 9eb1e1b15e11b85da133e6e1bb4544f9cfca5653 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sun, 4 May 2014 20:42:04 +0200 Subject: [PATCH] listbox: don't use focus-line-width --- gtk/gtklistbox.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index 41761c16da..bfe622fb64 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -2939,21 +2939,17 @@ gtk_list_box_row_get_full_border (GtkListBoxRow *row, GtkStyleContext *context; GtkStateFlags state; GtkBorder padding, border; - int focus_width; context = gtk_widget_get_style_context (widget); state = gtk_style_context_get_state (context); gtk_style_context_get_padding (context, state, &padding); gtk_style_context_get_border (context, state, &border); - gtk_style_context_get_style (context, - "focus-line-width", &focus_width, - NULL); - full_border->left = padding.left + border.left + focus_width; - full_border->right = padding.right + border.right + focus_width; - full_border->top = padding.top + border.top + focus_width; - full_border->bottom = padding.bottom + border.bottom + focus_width; + full_border->left = padding.left + border.left; + full_border->right = padding.right + border.right; + full_border->top = padding.top + border.top; + full_border->bottom = padding.bottom + border.bottom; } static void gtk_list_box_row_get_preferred_height_for_width (GtkWidget *widget,