[gtk/dnd-gestures-2: 166/175] calendar: Remove drag highlighting calls



commit df1279a966ed2e9bc49d60512353f0d7da82256c
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 7 18:24:03 2020 -0500

    calendar: Remove drag highlighting calls
    
    This is happening unconditionally, anyway.

 gtk/gtkcalendar.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index ff6b550636..345678c79b 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -2973,7 +2973,6 @@ static void
 gtk_calendar_drag_leave (GtkDropTarget *dest,
                          GtkCalendar   *calendar)
 {
-  gtk_drag_unhighlight (GTK_WIDGET (calendar));
 }
 
 static void
@@ -3052,8 +3051,6 @@ gtk_calendar_drag_motion (GtkDropTarget *dest,
   GdkDrop *drop = gtk_drop_target_get_drop (dest);
   GdkAtom target;
 
-  gtk_drag_highlight (widget);
-
   target = gtk_drop_target_find_mimetype (dest);
   if (!target || gdk_drop_get_actions (drop) == 0)
     gdk_drop_status (drop, 0);


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