diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-31 20:54:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-31 20:54:15 +0800 |
commit | 4a20b26434210820bdcc2d38b9c1f4b35eb36e71 (patch) | |
tree | bdfcf7b0da8c4c4fc7dd5fc5754a21a8766069d8 | |
parent | 1c1be234740e2e23f755668ce89483f0225ec329 (diff) | |
download | gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.tar gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.tar.gz gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.tar.bz2 gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.tar.lz gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.tar.xz gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.tar.zst gsoc2013-empathy-4a20b26434210820bdcc2d38b9c1f4b35eb36e71.zip |
add empathy_individual_view_refilter()
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 8 | ||||
-rw-r--r-- | libempathy-gtk/empathy-individual-view.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index b5c5022e9..eb41996f5 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -2854,3 +2854,11 @@ empathy_individual_view_set_custom_filter (EmpathyIndividualView *self, priv->custom_filter = filter; priv->custom_filter_data = data; } + +void +empathy_individual_view_refilter (EmpathyIndividualView *self) +{ + EmpathyIndividualViewPriv *priv = GET_PRIV (self); + + gtk_tree_model_filter_refilter (priv->filter); +} diff --git a/libempathy-gtk/empathy-individual-view.h b/libempathy-gtk/empathy-individual-view.h index ae94ed3d6..5090bc7cc 100644 --- a/libempathy-gtk/empathy-individual-view.h +++ b/libempathy-gtk/empathy-individual-view.h @@ -133,5 +133,7 @@ void empathy_individual_view_set_custom_filter (EmpathyIndividualView *self, GtkTreeModelFilterVisibleFunc filter, gpointer data); +void empathy_individual_view_refilter (EmpathyIndividualView *self); + G_END_DECLS #endif /* __EMPATHY_INDIVIDUAL_VIEW_H__ */ |