gcal-month-view: fixed drawing issue
Fixed drawing issue with :mark_current_unit method
This commit is contained in:
@@ -840,7 +840,8 @@ gcal_month_view_motion_notify_event (GtkWidget *widget,
|
|||||||
|
|
||||||
priv = gcal_month_view_get_instance_private (GCAL_MONTH_VIEW (widget));
|
priv = gcal_month_view_get_instance_private (GCAL_MONTH_VIEW (widget));
|
||||||
|
|
||||||
if (priv->start_mark_cell == -1)
|
if (priv->start_mark_cell == -1 ||
|
||||||
|
priv->clicked_cell == -1)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
width = gtk_widget_get_allocated_width (widget);
|
width = gtk_widget_get_allocated_width (widget);
|
||||||
|
|||||||
Reference in New Issue
Block a user