aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-protocol-chooser.c
diff options
context:
space:
mode:
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;