From: Richard L. <rl...@us...> - 2005-12-05 09:32:07
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30673/src Modified Files: gtkconv.c Log Message: These new color functions should be static. Index: gtkconv.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkconv.c,v retrieving revision 1.685 retrieving revision 1.686 diff -u -d -p -r1.685 -r1.686 --- gtkconv.c 5 Dec 2005 05:22:47 -0000 1.685 +++ gtkconv.c 5 Dec 2005 09:31:58 -0000 1.686 @@ -147,8 +147,8 @@ static char *item_factory_translate_func gboolean gaim_gtkconv_has_focus(GaimConversation *conv); static void gaim_gtkconv_custom_smiley_allocated(GdkPixbufLoader *loader, gpointer user_data); static void gaim_gtkconv_custom_smiley_closed(GdkPixbufLoader *loader, gpointer user_data); -GdkColor* generate_nick_colors(guint numcolors, GdkColor background); -gboolean color_is_visible(GdkColor foreground, GdkColor background); +static GdkColor* generate_nick_colors(guint numcolors, GdkColor background); +static gboolean color_is_visible(GdkColor foreground, GdkColor background); static GdkColor *get_nick_color(GaimGtkConversation *gtkconv, const char *name) { static GdkColor col; @@ -7509,7 +7509,7 @@ gaim_gtkconv_is_hidden(GaimGtkConversati /* Algorithm from http://www.w3.org/TR/AERT#color-contrast */ -gboolean +static gboolean color_is_visible(GdkColor foreground, GdkColor background) { gulong fg_brightness; @@ -7527,7 +7527,7 @@ color_is_visible(GdkColor foreground, Gd } -GdkColor* +static GdkColor* generate_nick_colors(guint numcolors, GdkColor background) { guint i; |