[gtk+] entry: remove unused code



commit 9f7bab0aca1e36106aa1ea9e67e7484f0af333f4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun May 4 20:19:48 2014 +0200

    entry: remove unused code

 gtk/gtkentry.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 44e696c..764e952 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -175,7 +175,6 @@ struct _GtkEntryPrivate
   gint          dnd_position;               /* In chars, -1 == no DND cursor */
   gint          drag_start_x;
   gint          drag_start_y;
-  gint          focus_width;
   gint          insert_pos;
   gint          selection_bound;
   gint          scroll_offset;
@@ -5096,12 +5095,6 @@ static void
 gtk_entry_update_cached_style_values (GtkEntry *entry)
 {
   GtkEntryPrivate *priv = entry->priv;
-  gint focus_width;
-
-  gtk_widget_style_get (GTK_WIDGET (entry),
-                       "focus-line-width", &focus_width,
-                       NULL);
-  priv->focus_width = focus_width;
 
   if (!priv->invisible_char_set)
     {


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