[gimp] libgimpwidgets: Remove dead assignments



commit 0afe030552fb818c2e0aff1348af30fb51d9016a
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Oct 4 14:33:42 2011 +0530

    libgimpwidgets: Remove dead assignments

 libgimpwidgets/gimpwidgets.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgets.c b/libgimpwidgets/gimpwidgets.c
index 88edfbb..b0bbbb7 100644
--- a/libgimpwidgets/gimpwidgets.c
+++ b/libgimpwidgets/gimpwidgets.c
@@ -614,16 +614,12 @@ gimp_coordinates_callback (GtkWidget           *widget,
         {
           if (new_x != data->last_x)
             {
-              new_y = new_x;
-
               gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 1, new_x);
               data->last_y = data->last_x
                 = gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (widget), 1);
             }
           else if (new_y != data->last_y)
             {
-              new_x = new_y;
-
               gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 0, new_y);
               data->last_x = data->last_y
                 = gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (widget), 0);



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