diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-10-11 16:38:30 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-10-11 16:38:30 -0700 |
commit | 4c046e0990dedc88fd29d76513737b64344bdfe8 (patch) | |
tree | 15f693bbda10f6c533bc1d61e567e78a0b7c3f1a /endless | |
parent | fdefcc5ccd619443742276cc144d66622a942f05 (diff) | |
parent | 2a06995c5511401bc001bc2e5143064cc5ef500d (diff) |
Merge pull request #354 from endlessm/issues/353
Issues/353
Diffstat (limited to 'endless')
-rw-r--r-- | endless/eosflexygrid-private.h | 2 | ||||
-rw-r--r-- | endless/eosflexygrid.c | 6 | ||||
-rw-r--r-- | endless/eosflexygrid.h | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/endless/eosflexygrid-private.h b/endless/eosflexygrid-private.h index 458383f..b7eb448 100644 --- a/endless/eosflexygrid-private.h +++ b/endless/eosflexygrid-private.h @@ -15,8 +15,6 @@ GSequenceIter * eos_flexy_grid_cell_get_iter (EosFlexyGridCell *cell) G_GNUC_INTERNAL void eos_flexy_grid_cell_set_selected (EosFlexyGridCell *cell, gboolean selected); -G_GNUC_INTERNAL -gboolean eos_flexy_grid_cell_get_selected (EosFlexyGridCell *cell); G_END_DECLS diff --git a/endless/eosflexygrid.c b/endless/eosflexygrid.c index 7e1d35e..d831163 100644 --- a/endless/eosflexygrid.c +++ b/endless/eosflexygrid.c @@ -109,7 +109,11 @@ eos_flexy_grid_update_cell_prelight (EosFlexyGrid *grid, g_signal_emit (grid, grid_signals[CELL_SELECTED], 0, cell); } else - priv->prelight_cell = NULL; + { + priv->prelight_cell = NULL; + + g_signal_emit (grid, grid_signals[CELL_SELECTED], 0, NULL); + } gtk_widget_queue_draw (GTK_WIDGET (grid)); } diff --git a/endless/eosflexygrid.h b/endless/eosflexygrid.h index 43ceca7..56c15ab 100644 --- a/endless/eosflexygrid.h +++ b/endless/eosflexygrid.h @@ -145,6 +145,8 @@ void eos_flexy_grid_cell_set_shape (EosFlexyGridCell *cell, EosFlexyShape shape); EOS_SDK_ALL_API_VERSIONS EosFlexyShape eos_flexy_grid_cell_get_shape (EosFlexyGridCell *cell); +EOS_SDK_ALL_API_VERSIONS +gboolean eos_flexy_grid_cell_get_selected (EosFlexyGridCell *cell); G_END_DECLS |