diff options
author | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2018-01-05 16:37:34 +0100 |
---|---|---|
committer | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2018-01-12 08:50:15 +0100 |
commit | 0e528ea0b52f0489ed62ce67af8cab021138fd39 (patch) | |
tree | 7cf058e2ae676d51f6adfa1dc06bbe020698fbb7 | |
parent | 55776b0d13f7e06b529346d8fc008d28c63f3766 (diff) | |
download | gdk-pixbuf-0e528ea0b52f0489ed62ce67af8cab021138fd39.tar.gz |
queryloaders: use g_build_filename instead of concat
-rw-r--r-- | gdk-pixbuf/queryloaders.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c index a81c80430..fe2f23087 100644 --- a/gdk-pixbuf/queryloaders.c +++ b/gdk-pixbuf/queryloaders.c @@ -295,10 +295,9 @@ int main (int argc, char **argv) *slash = '\0'; } - libdir = g_strconcat (runtime_prefix, - "/", - PIXBUF_LIBDIR + strlen (GDK_PIXBUF_PREFIX) + 1, - NULL); + libdir = g_build_filename (runtime_prefix, + PIXBUF_LIBDIR + strlen (GDK_PIXBUF_PREFIX) + 1, + NULL); } } else { |