aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-canvas-background.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-canvas-background.c')
-rw-r--r--widgets/misc/e-canvas-background.c2
1 files changed, 1 insertions, 1 deletions
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)