From 81179e175b32340d4579d674adb0d2007753e1a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Forysiuk?= Date: Sun, 2 Sep 2012 21:28:06 +0200 Subject: [PATCH] Don't use g_strconcat when building extensions path --- midori/midori-extension.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-extension.c b/midori/midori-extension.c index 4a3282c4..fe52679b 100644 --- a/midori/midori-extension.c +++ b/midori/midori-extension.c @@ -318,7 +318,7 @@ midori_extension_activate_cb (MidoriExtension* extension, strlen (filename) - strlen ("." G_MODULE_SUFFIX)); else filename = g_strdup (filename); - folder = g_strconcat ("extensions/", filename, NULL); + folder = g_build_filename ("extensions", filename, NULL); g_free (filename); katze_assign (config_file, midori_paths_get_config_filename (folder, "config"));