calendar: Remove drag highlighting calls

This is happening unconditionally, anyway.
This commit is contained in:
Matthias Clasen 2020-01-07 18:24:03 -05:00
parent 4fe5710456
commit 05a9b72fc8

View File

@ -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);