SF.net SVN: geany:[3717] trunk/src/document.c

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Apr 21 20:52:32 UTC 2009


Revision: 3717
          http://geany.svn.sourceforge.net/geany/?rev=3717&view=rev
Author:   eht16
Date:     2009-04-21 20:52:32 +0000 (Tue, 21 Apr 2009)

Log Message:
-----------
Fix build with USE_GIO_FILEMON by declaring the file changed status colour conditionally.

Modified Paths:
--------------
    trunk/src/document.c

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2009-04-21 20:52:19 UTC (rev 3716)
+++ trunk/src/document.c	2009-04-21 20:52:32 UTC (rev 3717)
@@ -2702,7 +2702,9 @@
 {
 	static GdkColor red = {0, 0xFFFF, 0, 0};
 	static GdkColor green = {0, 0, 0x7FFF, 0};
-	/*static GdkColor orange = {0, 0xFFFF, 0x7FFF, 0};*/
+#if defined(HAVE_GIO) && defined(USE_GIO_FILEMON)
+	static GdkColor orange = {0, 0xFFFF, 0x7FFF, 0};
+#endif
 	GdkColor *color = NULL;
 
 	g_return_val_if_fail(doc != NULL, NULL);


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