aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-linking-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-linking-dialog.c')
-rw-r--r--libempathy-gtk/empathy-linking-dialog.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-linking-dialog.c b/libempathy-gtk/empathy-linking-dialog.c
index 804884861..4d80b659f 100644
--- a/libempathy-gtk/empathy-linking-dialog.c
+++ b/libempathy-gtk/empathy-linking-dialog.c
@@ -142,17 +142,18 @@ linking_response_cb (EmpathyLinkingDialog *self,
{
EmpathyLinkingDialogPriv *priv = GET_PRIV (self);
- if (response == GTK_RESPONSE_OK) {
- EmpathyIndividualManager *manager;
- GList *personas;
+ if (response == GTK_RESPONSE_OK)
+ {
+ EmpathyIndividualManager *manager;
+ GList *personas;
- manager = empathy_individual_manager_dup_singleton ();
+ manager = empathy_individual_manager_dup_singleton ();
- personas = empathy_individual_linker_get_linked_personas (priv->linker);
- empathy_individual_manager_link_personas (manager, personas);
+ personas = empathy_individual_linker_get_linked_personas (priv->linker);
+ empathy_individual_manager_link_personas (manager, personas);
- g_object_unref (manager);
- }
+ g_object_unref (manager);
+ }
linking_dialog = NULL;
gtk_widget_destroy (GTK_WIDGET (self));