[gimp/soc-2009-dynamics] Remove useless member "ignore_button_release"



commit df57181899e0b2a01d03b59a6f5ac9823c95dffa
Author: Michael Natterer <mitch gimp org>
Date:   Fri Jul 10 03:40:44 2009 +0200

    Remove useless member "ignore_button_release"

 app/widgets/gimptagpopup.c |    3 ---
 app/widgets/gimptagpopup.h |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/widgets/gimptagpopup.c b/app/widgets/gimptagpopup.c
index 85e8d88..f4eb976 100644
--- a/app/widgets/gimptagpopup.c
+++ b/app/widgets/gimptagpopup.c
@@ -664,8 +664,6 @@ gimp_tag_popup_border_event (GtkWidget *widget,
       x = motion_event->x + widget->allocation.x;
       y = motion_event->y + widget->allocation.y;
 
-      popup->ignore_button_release = FALSE;
-
       gimp_tag_popup_handle_scrolling (popup, x, y,
                                        popup->timeout_id == 0, TRUE);
     }
@@ -676,7 +674,6 @@ gimp_tag_popup_border_event (GtkWidget *widget,
       popup->single_select_disabled = TRUE;
 
       if (button_event->window == widget->window &&
-          ! popup->ignore_button_release         &&
           gimp_tag_popup_button_scroll (popup, button_event))
         {
           return TRUE;
diff --git a/app/widgets/gimptagpopup.h b/app/widgets/gimptagpopup.h
index 1ed01a0..b6adb54 100644
--- a/app/widgets/gimptagpopup.h
+++ b/app/widgets/gimptagpopup.h
@@ -54,7 +54,6 @@ struct _GimpTagPopup
   gint               scroll_arrow_height;
   gboolean           scroll_fast;
   gboolean           arrows_visible;
-  gboolean           ignore_button_release;
   gboolean           upper_arrow_prelight;
   gboolean           lower_arrow_prelight;
   gboolean           single_select_disabled;



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