[empathy] empathy-accounts: no need to get argv, we don't use it
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-accounts: no need to get argv, we don't use it
- Date: Wed, 15 Dec 2010 15:57:25 +0000 (UTC)
commit 79d91365e3f7d986d28441ad072567bd72b9c776
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Dec 15 15:34:35 2010 +0100
empathy-accounts: no need to get argv, we don't use it
src/empathy-accounts.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 6d0561b..16a4c0b 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -140,13 +140,8 @@ static int
app_command_line_cb (GApplication *app,
GApplicationCommandLine *cmdline)
{
- gchar **argv;
- gint argc;
-
g_application_hold (app);
- argv = g_application_command_line_get_arguments (cmdline, &argc);
-
/* if the window is ready, present it; otherwise, it will be presented when
* the accounts manager is prepared */
if (account_manager_prepared)
@@ -160,8 +155,6 @@ app_command_line_cb (GApplication *app,
g_object_unref (account_manager);
}
- g_strfreev (argv);
-
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]