From 7d5772cc29390307df3dca302526c72e4ce5264a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 4 Feb 2014 19:30:29 +0000 Subject: flexygrid: Deselect cell when on empty space The pointer may be on empty space while still within the bounds of the FlexyGrid widget. [endlessm/eos-shell#1887] --- endless/eosflexygrid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'endless') diff --git a/endless/eosflexygrid.c b/endless/eosflexygrid.c index cb7f285..73b375e 100644 --- a/endless/eosflexygrid.c +++ b/endless/eosflexygrid.c @@ -653,8 +653,7 @@ eos_flexy_grid_motion_notify (GtkWidget *widget, } EosFlexyGridCell *cell = eos_flexy_grid_get_cell_at_coords (self, relative_x, relative_y); - if (cell != NULL) - eos_flexy_grid_update_cell_prelight (self, cell); + eos_flexy_grid_update_cell_prelight (self, cell); return GDK_EVENT_PROPAGATE; } -- cgit v1.2.3