From 7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Sep 2006 13:06:49 +0000 Subject: ** Fixes bug #352450 2006-08-23 Matthew Barnes ** Fixes bug #352450 * misc/e-canvas-background.c: * misc/e-cursors.c: * misc/e-map.c: * misc/e-reflow.c: * misc/e-task-widget.c: * misc/gal-combo-box.c: * table/e-cell-text.c: * table/e-cell-toggle.c: * table/e-table-field-chooser-item.c: * table/e-table-field-chooser.c: * table/e-table-header-item.c: * table/e-table-header-utils.c: * table/e-table-item.c: * table/e-table.c: * table/e-tree-memory.c: * table/e-tree-sorted.c: * table/e-tree.c: * table/e-text.c: Replace deprecated GLib and GDK function calls. svn path=/trunk/; revision=32783 --- widgets/misc/e-canvas-background.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 bd75b6a128..b2738847b7 100644 --- a/widgets/misc/e-canvas-background.c +++ b/widgets/misc/e-canvas-background.c @@ -161,11 +161,11 @@ set_stipple (ECanvasBackground *ecb, GdkBitmap *stipple, int use_value) { if (use_value) { if (ecb->priv->stipple) - gdk_bitmap_unref (ecb->priv->stipple); + g_object_unref (ecb->priv->stipple); ecb->priv->stipple = stipple; if (stipple) - gdk_bitmap_ref (stipple); + g_object_ref (stipple); } if (ecb->priv->gc) { @@ -184,7 +184,7 @@ ecb_dispose (GObject *object) if (ecb->priv) { if (ecb->priv->stipple) - gdk_bitmap_unref (ecb->priv->stipple); + g_object_unref (ecb->priv->stipple); ecb->priv->stipple = NULL; g_free (ecb->priv); -- cgit