aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-25 23:28:17 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-25 23:28:17 +0800
commit2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155 (patch)
tree44dfc9dbc9c75d3e10087648d5a6746695290feb /libgnomecanvas/gnome-canvas.c
parent5204507b2f326a76ed203b3fff0e4863cb6b709f (diff)
downloadgsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.gz
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.zst
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.zip
Bug #631870 - Memory leak in e_week_view after GtkObject removal
Diffstat (limited to 'libgnomecanvas/gnome-canvas.c')
-rw-r--r--libgnomecanvas/gnome-canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index cacabff454..014c57d4c1 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -165,7 +165,7 @@ gnome_canvas_item_get_type (void)
NULL /* value_table */
};
- canvas_item_type = g_type_register_static (G_TYPE_OBJECT, "GnomeCanvasItem",
+ canvas_item_type = g_type_register_static (G_TYPE_INITIALLY_UNOWNED, "GnomeCanvasItem",
&object_info, 0);
}