nixpkgs/pkgs/development/libraries/gtksourceview/4.x-nix_share_path.patch

12 lines
292 B
Diff
Raw Normal View History

2018-03-14 04:48:34 +01:00
--- a/gtksourceview/gtksourceutils.c
+++ b/gtksourceview/gtksourceutils.c
@@ -232,6 +232,8 @@
NULL));
}
+ g_ptr_array_add (dirs, g_build_filename (DATADIR, GSV_DATA_SUBDIR, basename, NULL));
+
g_ptr_array_add (dirs, NULL);
return (gchar **) g_ptr_array_free (dirs, FALSE);