aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-colors.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-12-04 23:43:46 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2006-12-04 23:43:46 +0800
commita39f7ac63aee199d7b5393e24a247ec3b9012445 (patch)
treeb3de014bfe9012c81f0112af92cfec2c103c566d /widgets/misc/e-colors.c
parent5e16059870d4b387fe08bec22b2634c151182c83 (diff)
downloadgsoc2013-evolution-a39f7ac63aee199d7b5393e24a247ec3b9012445.tar.gz
gsoc2013-evolution-a39f7ac63aee199d7b5393e24a247ec3b9012445.tar.zst
gsoc2013-evolution-a39f7ac63aee199d7b5393e24a247ec3b9012445.zip
Fixes bug #357970
2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * e-calendar-item.c: * e-canvas-background.c: * e-filter-bar.c: * e-search-bar.c: * gal-combo-box.c: Don't call deprecated GLib / GDK functions. * e-colors.c (e_color_alloc): Remove unused function. svn path=/trunk/; revision=33048
Diffstat (limited to 'widgets/misc/e-colors.c')
-rw-r--r--widgets/misc/e-colors.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/widgets/misc/e-colors.c b/widgets/misc/e-colors.c
index 3db1aac633..d3fb34e322 100644
--- a/widgets/misc/e-colors.c
+++ b/widgets/misc/e-colors.c
@@ -33,19 +33,6 @@
GdkColor e_white, e_dark_gray, e_black;
-gulong
-e_color_alloc (gushort red, gushort green, gushort blue)
-{
- e_color_init ();
-
- red >>= 8;
- green >>= 8;
- blue >>= 8;
- return gdk_rgb_xpixel_from_rgb (
- ((red & 0xff) << 16) | ((green & 0xff) << 8) |
- (blue & 0xff));
-}
-
void
e_color_alloc_gdk (GtkWidget *widget, GdkColor *c)
{