From: Paweł Forysiuk Date: Sun, 2 Sep 2012 19:28:06 +0000 (+0200) Subject: Don't use g_strconcat when building extensions path X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81179e175b32340d4579d674adb0d2007753e1a0;p=midori Don't use g_strconcat when building extensions path --- 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"));