SF.net SVN: geany: [619] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Jul 24 19:56:44 UTC 2006


Revision: 619
Author:   ntrel
Date:     2006-07-24 12:56:37 -0700 (Mon, 24 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=619&view=rev

Log Message:
-----------
Change 2 paths to use G_DIR_SEPARATOR_S

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/about.c
    trunk/src/utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-07-24 18:07:14 UTC (rev 618)
+++ trunk/ChangeLog	2006-07-24 19:56:37 UTC (rev 619)
@@ -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 at uvena.de>

Modified: trunk/src/about.c
===================================================================
--- trunk/src/about.c	2006-07-24 18:07:14 UTC (rev 618)
+++ trunk/src/about.c	2006-07-24 19:56:37 UTC (rev 619)
@@ -233,7 +233,7 @@
 	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");

Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c	2006-07-24 18:07:14 UTC (rev 618)
+++ trunk/src/utils.c	2006-07-24 19:56:37 UTC (rev 619)
@@ -1532,7 +1532,7 @@
 		}
 		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 ").");
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list