[gtk+] gtkentry: Remove dead assignments



commit 19222a6364b772d05b645e3c61aea684fc1eb23f
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 20 17:30:07 2013 +0000

    gtkentry: Remove dead assignments
    
    Found by scan-build.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712760

 gtk/gtkentry.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index dfe08d3..d3f2ab5 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);
 


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