From 6d93aba85b15b6479b7344333fb62ff77dd96f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 9 Aug 2013 12:54:25 +0200 Subject: IndicatorDesktopShortcuts: use g_key_file_get_string for path --- libindicator/indicator-desktop-shortcuts.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libindicator/indicator-desktop-shortcuts.c b/libindicator/indicator-desktop-shortcuts.c index 6148aec..ba7a35c 100644 --- a/libindicator/indicator-desktop-shortcuts.c +++ b/libindicator/indicator-desktop-shortcuts.c @@ -613,11 +613,8 @@ indicator_desktop_shortcuts_nick_exec_with_context (IndicatorDesktopShortcuts * } /* If possible move to the proper launch path */ - gchar * path = g_key_file_get_locale_string(priv->keyfile, - groupheader, - G_KEY_FILE_DESKTOP_KEY_PATH, - NULL, - NULL); + gchar * path = g_key_file_get_string(priv->keyfile, groupheader, + G_KEY_FILE_DESKTOP_KEY_PATH, NULL); if (path && *path != '\0' && chdir(path) < 0) { g_warning ("Impossible to run action '%s' from path '%s'", nick, path); -- cgit v1.2.3