From: Руслан Ижбулатов Date: Sat, 16 Jun 2018 18:22:12 +0000 (+0000) Subject: W32: don't put a string literal into gtk_libdir X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~133^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6bf88d90f3df03ac2e5cb664ccf521785431aa34;p=gtk4.git W32: don't put a string literal into gtk_libdir In all other instances gtk_libdir is a dynamically-allocated string, so dup the literal in this case as well. --- diff --git a/gtk/gtkwin32.c b/gtk/gtkwin32.c index c316824f5c..8923e3f8e2 100644 --- a/gtk/gtkwin32.c +++ b/gtk/gtkwin32.c @@ -161,7 +161,7 @@ _gtk_get_libdir (void) gchar *slash = strrchr (root, '\\'); if (slash != NULL && g_ascii_strcasecmp (slash + 1, ".libs") == 0) - gtk_libdir = GTK_LIBDIR; + gtk_libdir = g_strdup (GTK_LIBDIR); else gtk_libdir = g_build_filename (root, "lib", NULL); g_free (root);