[empathy] add empathy_individual_view_refilter()



commit 4a20b26434210820bdcc2d38b9c1f4b35eb36e71
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue May 31 14:54:15 2011 +0200

    add empathy_individual_view_refilter()

 libempathy-gtk/empathy-individual-view.c |    8 ++++++++
 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 b5c5022..eb41996 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 ae94ed3..5090bc7 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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]