[libgnomekbd] fixing printf specifier



commit 2451d5f703e5a799a45b603303daafc8ee1ef072
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Sun Mar 28 23:54:59 2010 +0100

    fixing printf specifier
    
    %lg is invalid specifier, using %g instead

 libgnomekbd/gkbd-indicator-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnomekbd/gkbd-indicator-config.c b/libgnomekbd/gkbd-indicator-config.c
index 0c49f7f..1b5a1a2 100644
--- a/libgnomekbd/gkbd-indicator-config.c
+++ b/libgnomekbd/gkbd-indicator-config.c
@@ -155,7 +155,7 @@ gkbd_indicator_config_load_colors (GkbdIndicatorConfig * ind_config)
 					       GTK_STYLE_PATH,
 					       GTK_TYPE_LABEL);
 		ind_config->foreground_color =
-		    g_strdup_printf ("%lg %lg %lg",
+		    g_strdup_printf ("%g %g %g",
 				     ((double) style->
 				      fg[GTK_STATE_NORMAL].red) / 0x10000,
 				     ((double) style->



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