summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-20 17:30:07 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-03-09 13:41:37 +0000
commit19222a6364b772d05b645e3c61aea684fc1eb23f (patch)
tree1dc44e664d89a528744becae4d9c1a3dc3017753
parent7479133753de0f7827bf74cf8b554f266af69d20 (diff)
downloadgtk+-19222a6364b772d05b645e3c61aea684fc1eb23f.tar.gz
gtkentry: Remove dead assignments
Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760
-rw-r--r--gtk/gtkentry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index dfe08d3833..d3f2ab58b9 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -9975,7 +9975,6 @@ gtk_entry_drag_motion (GtkWidget *widget,
state = gtk_style_context_get_state (style_context);
gtk_style_context_get_padding (style_context, state, &padding);
x -= padding.left;
- y -= padding.top;
get_icon_allocations (entry, &primary, &secondary);
@@ -10054,7 +10053,6 @@ gtk_entry_drag_data_received (GtkWidget *widget,
state = gtk_style_context_get_state (style_context);
gtk_style_context_get_padding (style_context, state, &padding);
x -= padding.left;
- y -= padding.top;
get_icon_allocations (entry, &primary, &secondary);