views/week: Simplify return statement

dnd.cell is never -1 in this code path.
This commit is contained in:
Georges Basile Stavracas Neto
2025-03-19 19:23:57 -03:00
parent 5d60bfc797
commit 280515a1b5
+1 -1
View File
@@ -477,7 +477,7 @@ on_drop_target_motion_cb (GtkDropTarget *drop_target,
self->dnd.cell = get_dnd_cell (self, x, y);
gtk_widget_queue_draw (GTK_WIDGET (self));
GCAL_RETURN (self->dnd.cell != -1 ? GDK_ACTION_COPY : 0);
GCAL_RETURN (GDK_ACTION_COPY);
}
static void