r13737 tlsa - in /trunk/netsurf: amiga/system_colour.c atari/system_colour.c beos/system_colour.cpp cocoa/system_colour.m desktop/gui.h framebuffer/system_colour.c gtk/system_colour.c monkey/system_colour.c riscos/system_colour.c windows/system_colour.c

netsurf at semichrome.net netsurf at semichrome.net
Tue Mar 27 11:47:29 BST 2012


Author: tlsa
Date: Tue Mar 27 05:47:29 2012
New Revision: 13737

URL: http://source.netsurf-browser.org?rev=13737&view=rev
Log:
Constify param to gui_system_colour_char function.

Modified:
    trunk/netsurf/amiga/system_colour.c
    trunk/netsurf/atari/system_colour.c
    trunk/netsurf/beos/system_colour.cpp
    trunk/netsurf/cocoa/system_colour.m
    trunk/netsurf/desktop/gui.h
    trunk/netsurf/framebuffer/system_colour.c
    trunk/netsurf/gtk/system_colour.c
    trunk/netsurf/monkey/system_colour.c
    trunk/netsurf/riscos/system_colour.c
    trunk/netsurf/windows/system_colour.c

Modified: trunk/netsurf/amiga/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/amiga/system_colour.c (original)
+++ trunk/netsurf/amiga/system_colour.c Tue Mar 27 05:47:29 2012
@@ -307,7 +307,7 @@
 	gui_system_colour_pw = NULL;
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/atari/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/atari/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/atari/system_colour.c (original)
+++ trunk/netsurf/atari/system_colour.c Tue Mar 27 05:47:29 2012
@@ -255,7 +255,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/beos/system_colour.cpp
URL: http://source.netsurf-browser.org/trunk/netsurf/beos/system_colour.cpp?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/beos/system_colour.cpp (original)
+++ trunk/netsurf/beos/system_colour.cpp Tue Mar 27 05:47:29 2012
@@ -326,7 +326,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/cocoa/system_colour.m
URL: http://source.netsurf-browser.org/trunk/netsurf/cocoa/system_colour.m?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/cocoa/system_colour.m (original)
+++ trunk/netsurf/cocoa/system_colour.m Tue Mar 27 05:47:29 2012
@@ -250,7 +250,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/desktop/gui.h
URL: http://source.netsurf-browser.org/trunk/netsurf/desktop/gui.h?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/desktop/gui.h (original)
+++ trunk/netsurf/desktop/gui.h Tue Mar 27 05:47:29 2012
@@ -161,7 +161,7 @@
 css_error gui_system_colour(void *pw, lwc_string *name, css_color *color);
 
 /** Obtain a named system colour from a frontend. */
-colour gui_system_colour_char(char *name);
+colour gui_system_colour_char(const char *name);
 
 bool gui_system_colour_init(void);
 void gui_system_colour_finalize(void);

Modified: trunk/netsurf/framebuffer/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/framebuffer/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/framebuffer/system_colour.c (original)
+++ trunk/netsurf/framebuffer/system_colour.c Tue Mar 27 05:47:29 2012
@@ -250,7 +250,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/gtk/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/gtk/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/gtk/system_colour.c (original)
+++ trunk/netsurf/gtk/system_colour.c Tue Mar 27 05:47:29 2012
@@ -250,7 +250,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/monkey/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/monkey/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/monkey/system_colour.c (original)
+++ trunk/netsurf/monkey/system_colour.c Tue Mar 27 05:47:29 2012
@@ -250,7 +250,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/riscos/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/riscos/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/riscos/system_colour.c (original)
+++ trunk/netsurf/riscos/system_colour.c Tue Mar 27 05:47:29 2012
@@ -288,7 +288,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;

Modified: trunk/netsurf/windows/system_colour.c
URL: http://source.netsurf-browser.org/trunk/netsurf/windows/system_colour.c?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- trunk/netsurf/windows/system_colour.c (original)
+++ trunk/netsurf/windows/system_colour.c Tue Mar 27 05:47:29 2012
@@ -250,7 +250,7 @@
 	}
 }
 
-colour gui_system_colour_char(char *name)
+colour gui_system_colour_char(const char *name)
 {
 	colour ret = 0xff00000;
 	unsigned int ccount;




More information about the netsurf-commits mailing list