From a8148683d377107d7d7a58438506abc59d402e9f Mon Sep 17 00:00:00 2001 From: Daiki Ueno <ueno@unixuser.org> Date: Wed, 2 Mar 2011 17:00:37 +0900 Subject: [PATCH] Fix typo in desktop-client.c. --- src/desktop-client.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/desktop-client.c b/src/desktop-client.c index c7dc95fb..db9673b8 100644 --- a/src/desktop-client.c +++ b/src/desktop-client.c @@ -35,6 +35,7 @@ #include "eek/eek-xkl.h" #include "eekboard/eekboard.h" #include "desktop-client.h" +#include "xklutil.h" #define CSW 640 #define CSH 480 @@ -537,11 +538,11 @@ set_keyboard (EekboardDesktopClient *client, } if (options) { - gchar **options; + gchar **_options; - options = g_strsplit (options, ",", -1); - if (!eek_xkl_layout_set_options (EEK_XKL_LAYOUT(layout), options)) { - g_strfreev (options); + _options = g_strsplit (options, ",", -1); + if (!eek_xkl_layout_set_options (EEK_XKL_LAYOUT(layout), _options)) { + g_strfreev (_options); g_object_unref (layout); return FALSE; } -- GitLab