[gnome-control-center/gnome-3-0] Kill warning in g_print call



commit 93af4f78a984238a8fdd4ef603e67dafc524d603
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Fri May 20 12:25:28 2011 +0200

    Kill warning in g_print call

 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 06b0727..f4d4c8a 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -93,7 +93,7 @@ application_command_line_cb (GApplication  *application,
       gchar *help;
 
       help = g_option_context_get_help (context, FALSE, NULL);
-      g_print (help);
+      g_print ("%s", help);
       g_free (help);
       g_option_context_free (context);
       return 0;



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