diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2006-12-04 23:43:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2006-12-04 23:43:46 +0800 |
commit | a39f7ac63aee199d7b5393e24a247ec3b9012445 (patch) | |
tree | b3de014bfe9012c81f0112af92cfec2c103c566d /widgets/misc/e-calendar-item.c | |
parent | 5e16059870d4b387fe08bec22b2634c151182c83 (diff) | |
download | gsoc2013-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-calendar-item.c')
-rw-r--r-- | widgets/misc/e-calendar-item.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index 77b041c5f9..59eac4f119 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -700,11 +700,7 @@ e_calendar_item_unrealize (GnomeCanvasItem *item) colormap = gtk_widget_get_colormap (GTK_WIDGET (item->canvas)); - for (i = 0; i < E_CALENDAR_ITEM_COLOR_LAST; i++) { - /* FIXME: gdk_colors_free expects gulong* here but the pixel value in GdkColor - is guint32. GDK bug? */ - gdk_colors_free (colormap, (gulong *) &calitem->colors[i].pixel, 1, 0); - } + gdk_colormap_free_colors (colormap, calitem->colors, E_CALENDAR_ITEM_COLOR_LAST); if (GNOME_CANVAS_ITEM_CLASS (e_calendar_item_parent_class)->unrealize) (* GNOME_CANVAS_ITEM_CLASS (e_calendar_item_parent_class)->unrealize) (item); |