[gtk+] spinbutton: remove unused code



commit 5a16ec366dffaf6312a435975a5ff879fe06205c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu May 1 19:35:46 2014 +0200

    spinbutton: remove unused code

 gtk/gtkspinbutton.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index db39c31..5b50894 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -1165,14 +1165,12 @@ gtk_spin_button_get_preferred_width (GtkWidget *widget,
   if (gtk_entry_get_width_chars (entry) < 0)
     {
       gint width, w;
-      gboolean interior_focus;
       gint focus_width;
       GtkBorder borders;
       PangoLayout *layout;
       gchar *str;
 
       gtk_style_context_get_style (style_context,
-                                   "interior-focus", &interior_focus,
                                    "focus-line-width", &focus_width,
                                    NULL);
 


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