[gnome-control-center] shell: Adjust to API change in GApplicationCommandLine



commit ebc7a9ef72caa033ae2deeeb4159c03c5c686a3a
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Oct 22 16:09:36 2010 +0200

    shell: Adjust to API change in GApplicationCommandLine

 shell/control-center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index ece261b..c29dd66 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -37,7 +37,7 @@ application_command_line_cb (GApplication  *application,
   int argc;
   char **argv;
 
-  g_application_command_line_get_argc_argv (command_line, &argc, &argv);
+  argv = g_application_command_line_get_arguments (command_line, &argc);
   if (argc == 2)
     {
       gchar *start_id;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]