[empathy] factor out launch_empathy_accounts()
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] factor out launch_empathy_accounts()
- Date: Wed, 15 Aug 2012 12:37:55 +0000 (UTC)
commit eb43103198994a09a2f6b4a0508b1c0484e951f2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Aug 2 16:42:47 2012 +0200
factor out launch_empathy_accounts()
https://bugzilla.gnome.org/show_bug.cgi?id=680778
src/empathy-accounts-dialog.c | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 0837a09..74cc859 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]