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
This commit is contained in:
parent
7ec96dec29
commit
088880208b
@ -9,6 +9,7 @@
|
||||
|
||||
* 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/utils.c, src/about.c: Change 2 paths to use G_DIR_SEPARATOR_S.
|
||||
|
||||
|
||||
2006-07-23 Enrico Tröger <enrico.troeger@uvena.de>
|
||||
|
||||
@ -233,7 +233,7 @@ static GtkWidget *create_dialog(void)
|
||||
label = gtk_label_new(_("License"));
|
||||
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)
|
||||
{
|
||||
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
|
||||
}
|
||||
if (error_nr == 0 && ! g_file_test(filedefs_readme, G_FILE_TEST_EXISTS))
|
||||
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 ").");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user