From a39f7ac63aee199d7b5393e24a247ec3b9012445 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 4 Dec 2006 15:43:46 +0000 Subject: Fixes bug #357970 2006-12-04 Matthew Barnes 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 --- widgets/misc/e-canvas-background.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/misc/e-canvas-background.c') diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c index b2738847b7..58bda2436d 100644 --- a/widgets/misc/e-canvas-background.c +++ b/widgets/misc/e-canvas-background.c @@ -358,7 +358,7 @@ ecb_unrealize (GnomeCanvasItem *item) { ECanvasBackground *ecb = E_CANVAS_BACKGROUND (item); - gdk_gc_unref (ecb->priv->gc); + g_object_unref (ecb->priv->gc); ecb->priv->gc = NULL; if (GNOME_CANVAS_ITEM_CLASS (parent_class)->unrealize) -- cgit