]> git.0d.be Git - empathy.git/commitdiff
empathy-accounts: no need to get argv, we don't use it
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 15 Dec 2010 14:34:35 +0000 (15:34 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 15 Dec 2010 14:34:35 +0000 (15:34 +0100)
src/empathy-accounts.c

index 6d0561b143455df4c14222f839f119e48c744a7b..16a4c0bfbc2dbbd7514a1ee1a46beb8728a1c717 100644 (file)
@@ -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;
 }