[telepathy-account-widgets] remove tpaw_make_color_whiter()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [telepathy-account-widgets] remove tpaw_make_color_whiter()
- Date: Mon, 13 Jan 2014 09:14:46 +0000 (UTC)
commit 0c066f5a83eb94abfbe0c942a9432160815588c5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jan 8 10:10:43 2014 +0100
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, 0 insertions(+), 12 deletions(-)
---
diff --git a/tp-account-widgets/tpaw-utils.c b/tp-account-widgets/tpaw-utils.c
index d83f396..184247b 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 d9cdc6d..73ece00 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]