Kaydet (Commit) 08888020 authored tarafından Nick Treleaven's avatar Nick Treleaven

Change 2 paths to use G_DIR_SEPARATOR_S

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@619 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 7ec96dec
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
* src/geany.h: Use generic font names & increase the default size. * src/geany.h: Use generic font names & increase the default size.
* src/notebook.c: Use tab reorder workaround only if GTK runtime <2.8. * src/notebook.c: Use tab reorder workaround only if GTK runtime <2.8.
* src/utils.c, src/about.c: Change 2 paths to use G_DIR_SEPARATOR_S.
2006-07-23 Enrico Tröger <enrico.troeger@uvena.de> 2006-07-23 Enrico Tröger <enrico.troeger@uvena.de>
......
...@@ -233,7 +233,7 @@ static GtkWidget *create_dialog(void) ...@@ -233,7 +233,7 @@ static GtkWidget *create_dialog(void)
label = gtk_label_new(_("License")); label = gtk_label_new(_("License"));
gtk_widget_show(label); gtk_widget_show(label);
g_file_get_contents(GEANY_DATA_DIR "/GPL-2", &license_text, NULL, NULL); g_file_get_contents(GEANY_DATA_DIR G_DIR_SEPARATOR_S "GPL-2", &license_text, NULL, NULL);
if (license_text == NULL) if (license_text == NULL)
{ {
license_text = g_strdup("License text could not be found, please google for GPLv2"); license_text = g_strdup("License text could not be found, please google for GPLv2");
......
...@@ -1532,7 +1532,7 @@ For more information read the documentation (in " DOCDIR " or visit " GEANY_HOME ...@@ -1532,7 +1532,7 @@ For more information read the documentation (in " DOCDIR " or visit " GEANY_HOME
} }
if (error_nr == 0 && ! g_file_test(filedefs_readme, G_FILE_TEST_EXISTS)) if (error_nr == 0 && ! g_file_test(filedefs_readme, G_FILE_TEST_EXISTS))
utils_write_file(filedefs_readme, utils_write_file(filedefs_readme,
"Copy files from " PACKAGE_DATA_DIR "/" PACKAGE " to this directory to overwrite them. To use the defaults, just delete the file in this directory.\n\ "Copy files from " PACKAGE_DATA_DIR G_DIR_SEPARATOR_S PACKAGE " to this directory to overwrite them. To use the defaults, just delete the file in this directory.\n\
For more information read the documentation (in " DOCDIR " or visit " GEANY_HOMEPAGE ")."); For more information read the documentation (in " DOCDIR " or visit " GEANY_HOMEPAGE ").");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment