From 0c066f5a83eb94abfbe0c942a9432160815588c5 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 8 Jan 2014 10:10:43 +0100 Subject: remove tpaw_make_color_whiter() It's not used any more. https://bugzilla.gnome.org/show_bug.cgi?id=710252 --- tp-account-widgets/tpaw-utils.c | 10 ---------- tp-account-widgets/tpaw-utils.h | 2 -- 2 files changed, 12 deletions(-) (limited to 'tp-account-widgets') diff --git a/tp-account-widgets/tpaw-utils.c b/tp-account-widgets/tpaw-utils.c index d83f3967..184247b6 100644 --- a/tp-account-widgets/tpaw-utils.c +++ b/tp-account-widgets/tpaw-utils.c @@ -175,16 +175,6 @@ tpaw_service_name_to_display_name (const gchar *service_name) return service_name; } -void -tpaw_make_color_whiter (GdkRGBA *color) -{ - const GdkRGBA white = { 1.0, 1.0, 1.0, 1.0 }; - - color->red = (color->red + white.red) / 2; - color->green = (color->green + white.green) / 2; - color->blue = (color->blue + white.blue) / 2; -} - gboolean tpaw_xml_validate_from_resource (xmlDoc *doc, const gchar *dtd_resourcename) diff --git a/tp-account-widgets/tpaw-utils.h b/tp-account-widgets/tpaw-utils.h index d9cdc6d9..73ece00d 100644 --- a/tp-account-widgets/tpaw-utils.h +++ b/tp-account-widgets/tpaw-utils.h @@ -54,8 +54,6 @@ const gchar *tpaw_service_name_to_display_name (const gchar *proto_name); gboolean tpaw_xml_validate_from_resource (xmlDoc *doc, const gchar *dtd_resourcename); -void tpaw_make_color_whiter (GdkRGBA *color); - /* Windows */ void tpaw_window_present (GtkWindow *window); void tpaw_window_present_with_time (GtkWindow *window, -- cgit v1.2.1