Mercurial > pidgin
changeset 12351:af152afe7bac
[gaim-migrate @ 14655]
These new color functions should be static.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 05 Dec 2005 09:31:58 +0000 |
parents | 51c57ebb4ec8 |
children | e3fefd3ebc72 |
files | src/gtkconv.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Dec 05 06:58:00 2005 +0000 +++ b/src/gtkconv.c Mon Dec 05 09:31:58 2005 +0000 @@ -147,8 +147,8 @@ 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 @@ /* 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 @@ } -GdkColor* +static GdkColor* generate_nick_colors(guint numcolors, GdkColor background) { guint i;