From: Guillaume Desmottes Date: Wed, 15 Dec 2010 14:34:35 +0000 (+0100) Subject: empathy-accounts: no need to get argv, we don't use it X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=79d91365e3f7d986d28441ad072567bd72b9c776 empathy-accounts: no need to get argv, we don't use it --- diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c index 6d0561b1..16a4c0bf 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; }