aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-protocol-chooser.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-11 22:26:36 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-12 00:01:38 +0800
commit438199f57bc03b42aae12a18888c73597b04c1ec (patch)
treeb1e60b2b781b40daf149eeff0245761b325eb733 /libempathy-gtk/empathy-protocol-chooser.c
parent0110d107dcb0539355ca634498bd133b0161d4f6 (diff)
downloadgsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar
gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.gz
gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.bz2
gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.lz
gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.xz
gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.zst
gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.zip
assistant: filter out facebook from the new account page
Diffstat (limited to 'libempathy-gtk/empathy-protocol-chooser.c')
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 65f70ee97..72eb05536 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -421,12 +421,13 @@ protocol_chooser_filter_visible_func (GtkTreeModel *model,
TpConnectionManager *cm = NULL;
gchar *protocol_name = NULL;
gboolean visible = FALSE;
- gboolean is_gtalk;
+ gboolean is_gtalk, is_facebook;
gtk_tree_model_get (model, iter,
COL_CM, &cm,
COL_PROTOCOL_NAME, &protocol_name,
COL_IS_GTALK, &is_gtalk,
+ COL_IS_FACEBOOK, &is_facebook,
-1);
if (cm != NULL && protocol_name != NULL)
@@ -438,7 +439,7 @@ protocol_chooser_filter_visible_func (GtkTreeModel *model,
if (protocol != NULL)
{
- visible = priv->filter_func (cm, protocol, is_gtalk,
+ visible = priv->filter_func (cm, protocol, is_gtalk, is_facebook,
priv->filter_user_data);
}
}