summaryrefslogtreecommitdiff
path: root/tp-account-widgets
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-01-08 10:10:43 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-01-08 10:11:12 +0100
commit0c066f5a83eb94abfbe0c942a9432160815588c5 (patch)
treee42598227bcd3ff84f5ef42f744779d5295939b8 /tp-account-widgets
parent6cf47a8c759b8962e4345b2122e51e18454f4346 (diff)
downloadtelepathy-account-widgets-0c066f5a83eb94abfbe0c942a9432160815588c5.tar.gz
remove tpaw_make_color_whiter()
It's not used any more. https://bugzilla.gnome.org/show_bug.cgi?id=710252
Diffstat (limited to 'tp-account-widgets')
-rw-r--r--tp-account-widgets/tpaw-utils.c10
-rw-r--r--tp-account-widgets/tpaw-utils.h2
2 files changed, 0 insertions, 12 deletions
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,