[Xfce4-commits] <midori:master> Don't use g_strconcat when building extensions path

Christian Dywan noreply at xfce.org
Sun Sep 2 23:22:05 CEST 2012


Updating branch refs/heads/master
         to 81179e175b32340d4579d674adb0d2007753e1a0 (commit)
       from d426a4df9e46e7028234f29faded8602329466f8 (commit)

commit 81179e175b32340d4579d674adb0d2007753e1a0
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Sun Sep 2 21:28:06 2012 +0200

    Don't use g_strconcat when building extensions path

 midori/midori-extension.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-extension.c b/midori/midori-extension.c
index 4a3282c..fe52679 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"));


More information about the Xfce4-commits mailing list