aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-08-02 22:42:47 +0800
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-08-14 23:24:59 +0800
commiteb43103198994a09a2f6b4a0508b1c0484e951f2 (patch)
treea30a472d7850d6d59a2237df60377baebcb42869 /src/empathy-accounts-dialog.c
parent77ea9d56fb15dfd6edb1554ba31c42a7789d62d1 (diff)
downloadgsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.tar
gsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.tar.gz
gsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.tar.bz2
gsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.tar.lz
gsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.tar.xz
gsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.tar.zst
gsoc2013-empathy-eb43103198994a09a2f6b4a0508b1c0484e951f2.zip
factor out launch_empathy_accounts()
https://bugzilla.gnome.org/show_bug.cgi?id=680778
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 0837a09f9..74cc85939 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -2658,9 +2658,8 @@ empathy_accounts_dialog_show (GtkWindow *parent,
return GTK_WIDGET (dialog);
}
-void
-empathy_accounts_dialog_show_application (GdkScreen *screen,
- TpAccount *selected_account,
+static void
+launch_empathy_accounts (TpAccount *selected_account,
gboolean if_needed,
gboolean hidden)
{
@@ -2690,6 +2689,15 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
g_string_free (args, TRUE);
}
+void
+empathy_accounts_dialog_show_application (GdkScreen *screen,
+ TpAccount *selected_account,
+ gboolean if_needed,
+ gboolean hidden)
+{
+ launch_empathy_accounts (selected_account, if_needed, hidden);
+}
+
gboolean
empathy_accounts_dialog_is_creating (EmpathyAccountsDialog *dialog)
{