]> spindle.queued.net Git - midori/commitdiff
Don't use g_strconcat when building extensions path
authorPaweł Forysiuk <tuxator@o2.pl>
Sun, 2 Sep 2012 19:28:06 +0000 (21:28 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 2 Sep 2012 20:01:32 +0000 (22:01 +0200)
midori/midori-extension.c

index 4a3282c46289400d2e16f38fbc4f3aafe36788d1..fe52679b76057f0e9a60cf8cd15b831ad353bd78 100644 (file)
@@ -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"));