[gtk/dnd-gestures-2: 170/173] remove debug spew



commit 8a085fcc5a5d889ababdbaa7e9250fd805c09a21
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 8 16:08:26 2020 -0500

    remove debug spew

 gtk/gtkdragdest.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/gtk/gtkdragdest.c b/gtk/gtkdragdest.c
index 3a3c455e55..71ea025cef 100644
--- a/gtk/gtkdragdest.c
+++ b/gtk/gtkdragdest.c
@@ -719,10 +719,7 @@ gtk_drop_target_handle_event (GtkEventController *controller,
     }
 
   if (found)
-    {
-      g_print ("setting dest from event controller handle_event\n");
-      gtk_drop_set_current_dest (drop, dest);
-    }
+    gtk_drop_set_current_dest (drop, dest);
 
   return found;
 }
@@ -750,13 +747,11 @@ gtk_drag_dest_handle_event (GtkWidget *toplevel,
       break;
 
     case GDK_DRAG_LEAVE:
-      g_print ("setting dest from fallback handle_event for LEAVE\n");
       gtk_drop_set_current_dest (drop, NULL);
       break;
 
     case GDK_DRAG_MOTION:
     case GDK_DROP_START:
-      g_print ("setting dest from fallback handle_event for MOTION or START\n");
       gtk_drop_set_current_dest (drop, NULL);
       gdk_drop_status (drop, 0);
       break;


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