aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-protocol-chooser.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-11 20:34:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-12 00:01:37 +0800
commitd5c50301939772d752c7f8789a9b5ae81334fab3 (patch)
tree7070ff37419303cde3fdbd46e7201cef1d4fb624 /libempathy-gtk/empathy-protocol-chooser.c
parent0d6a5a8caef60613531a96f5f81b55c811200ec8 (diff)
downloadgsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.tar
gsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.tar.gz
gsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.tar.bz2
gsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.tar.lz
gsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.tar.xz
gsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.tar.zst
gsoc2013-empathy-d5c50301939772d752c7f8789a9b5ae81334fab3.zip
add is_facebook arg to empathy_protocol_chooser_dup_selected
So the assistant and accounts dialog can special case facebook accounts.
Diffstat (limited to 'libempathy-gtk/empathy-protocol-chooser.c')
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index e67faf860..65f70ee97 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -464,7 +464,8 @@ TpConnectionManager *
empathy_protocol_chooser_dup_selected (
EmpathyProtocolChooser *protocol_chooser,
TpConnectionManagerProtocol **protocol,
- gboolean *is_gtalk)
+ gboolean *is_gtalk,
+ gboolean *is_facebook)
{
GtkTreeIter iter;
TpConnectionManager *cm = NULL;
@@ -503,6 +504,13 @@ empathy_protocol_chooser_dup_selected (
COL_IS_GTALK, is_gtalk,
-1);
}
+
+ if (is_facebook != NULL)
+ {
+ gtk_tree_model_get (GTK_TREE_MODEL (cur_model), &iter,
+ COL_IS_FACEBOOK, is_facebook,
+ -1);
+ }
}
return cm;