aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-individual-view.c8
-rw-r--r--libempathy-gtk/empathy-individual-view.h2
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__ */