SF.net SVN: geany:[3574] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Feb 13 18:12:49 UTC 2009


Revision: 3574
          http://geany.svn.sourceforge.net/geany/?rev=3574&view=rev
Author:   eht16
Date:     2009-02-13 18:12:49 +0000 (Fri, 13 Feb 2009)

Log Message:
-----------
Don't use a hard coded black foreground colour for the compiler and messages windows, instead use the default GTK foreground colour.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/msgwindow.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-02-13 17:19:23 UTC (rev 3573)
+++ trunk/ChangeLog	2009-02-13 18:12:49 UTC (rev 3574)
@@ -1,3 +1,10 @@
+2009-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/msgwindow.c:
+   Don't use a hard coded black foreground colour for the compiler and
+   messages windows, instead use the default GTK foreground colour.
+
+
 2009-02-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/build.c, src/dialogs.c, src/prefs.c, src/printing.c,

Modified: trunk/src/msgwindow.c
===================================================================
--- trunk/src/msgwindow.c	2009-02-13 17:19:23 UTC (rev 3573)
+++ trunk/src/msgwindow.c	2009-02-13 18:12:49 UTC (rev 3574)
@@ -219,14 +219,13 @@
 {
 	static const GdkColor dark_red = {0, 65535 / 2, 0, 0};
 	static const GdkColor blue = {0, 0, 0, 0xD000};	/* not too bright ;-) */
-	static const GdkColor black = {0, 0, 0, 0};
 
 	switch (msg_color)
 	{
 		case COLOR_RED: return &color_error;
 		case COLOR_DARK_RED: return &dark_red;
 		case COLOR_BLUE: return &blue;
-		default: return &black;
+		default: return 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