[libgnomekbd] Eliminated compatibility warning



commit 799e8ded302d5a2f4baf932b847d236356343bc1
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Wed Feb 22 00:45:06 2012 +0000

    Eliminated compatibility warning

 libgnomekbd/gkbd-keyboard-config.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-config.c b/libgnomekbd/gkbd-keyboard-config.c
index 96c88a6..acd5456 100644
--- a/libgnomekbd/gkbd-keyboard-config.c
+++ b/libgnomekbd/gkbd-keyboard-config.c
@@ -591,10 +591,11 @@ gkbd_keyboard_config_activate (GkbdKeyboardConfig * kbd_config)
 					      NULL);
 			if (g_file_test (xmodmap_file, G_FILE_TEST_EXISTS)) {
 				GError *error = NULL;
+				gchar *command;
 				xkl_debug (150,
 					   "Loading custom xmodmap file %s\n",
 					   xmodmap_file);
-				gchar *command =
+				command =
 				    g_strconcat (XMODMAP_CMD, " ",
 						 xmodmap_file,
 						 NULL);



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