Skip to content
Commit b6bec551 authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto 💬
Browse files

month-view: don't show popover when clicking an invalid cell

Because we're using a simple (gint) cast to round y value of
the clicked point, a negative y was rounding to a valid cell
position and showing the popover even when the user clicked
on the blank cells before the actual month view.

Fix that by properly checking if y is negative.

https://bugzilla.gnome.org/show_bug.cgi?id=755910
parent 6afa9b98
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment