[gtk+/wip/focusprops: 39/48] entry: remove unused code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/focusprops: 39/48] entry: remove unused code
- Date: Mon, 5 May 2014 03:56:26 +0000 (UTC)
commit cc8d64cf8ec994a92f752dca8bbc44a421c5e0e5
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]