[gtk/dnd-gestures-2: 2/14] calendar: Remove drag highlighting calls
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dnd-gestures-2: 2/14] calendar: Remove drag highlighting calls
- Date: Wed, 8 Jan 2020 21:36:57 +0000 (UTC)
commit a5e68279646b12d15f481edea92b85d66c3c0992
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 | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index ff6b550636..c1dc03e6e8 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
@@ -3048,12 +3047,9 @@ gtk_calendar_drag_motion (GtkDropTarget *dest,
int y,
GtkCalendar *calendar)
{
- GtkWidget *widget = GTK_WIDGET (calendar);
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]