[gtk+] iconview: Remove double-MAX when updating rubberband



commit 21108475a8fc14c1a5e700fb92465e39c0237fa2
Author: Timm Bäder <mail baedert org>
Date:   Wed Oct 11 10:50:03 2017 +0200

    iconview: Remove double-MAX when updating rubberband

 gtk/gtkiconview.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 4cd2487..0a9b02f 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -2360,9 +2360,6 @@ gtk_icon_view_update_rubberband (GtkIconView *icon_view)
   x = MAX (icon_view->priv->mouse_x, 0);
   y = MAX (icon_view->priv->mouse_y, 0);
 
-  x = MAX (x, 0);
-  y = MAX (y, 0);
-
   icon_view->priv->rubberband_x2 = x;
   icon_view->priv->rubberband_y2 = y;  
 


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