listview: Move bounds check into base class
authorBenjamin Otte <otte@redhat.com>
Thu, 9 Mar 2023 03:02:22 +0000 (04:02 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 10 Mar 2023 04:26:28 +0000 (05:26 +0100)
commit97e3c652518c66313c9e29dabed92e75b482fd1c
tree804aea465d6303db037f8ba62bf2c66b597e4432
parent334ca12d788bfbe53bfa16e1c74f7c78a2ad2032
listview: Move bounds check into base class

This way, listview and gridview don't need to check if the rect is out
of bounds and nothing is selected, a quick rectangle_intersect() does
the job for them.
gtk/gtkgridview.c
gtk/gtklistbase.c
gtk/gtklistview.c