Index: eel/eel-canvas.c
===================================================================
--- eel/eel-canvas.c	(revision 14826)
+++ eel/eel-canvas.c	(working copy)
@@ -1208,7 +1208,7 @@
 	object_class = (GtkObjectClass *) class;
 	item_class = (EelCanvasItemClass *) class;
 
-	group_parent_class = gtk_type_class (eel_canvas_item_get_type ());
+	group_parent_class = g_type_class_ref (eel_canvas_item_get_type ());
 
 	gobject_class->set_property = eel_canvas_group_set_property;
 	gobject_class->get_property = eel_canvas_group_get_property;
@@ -2002,7 +2002,7 @@
 	object_class  = (GtkObjectClass *) klass;
 	widget_class  = (GtkWidgetClass *) klass;
 
-	canvas_parent_class = gtk_type_class (gtk_layout_get_type ());
+	canvas_parent_class = g_type_class_ref (gtk_layout_get_type ());
 
 	gobject_class->set_property = eel_canvas_set_property;
 	gobject_class->get_property = eel_canvas_get_property;
@@ -3938,7 +3938,7 @@
 
 	gobject_class = (GObjectClass *) class;
 
-	item_parent_class = gtk_type_class (gtk_object_get_type ());
+	item_parent_class = g_type_class_ref (gtk_object_get_type ());
 
 	gobject_class->set_property = eel_canvas_item_set_property;
 	gobject_class->get_property = eel_canvas_item_get_property;
Index: eel/eel-editable-label.c
===================================================================
--- eel/eel-editable-label.c	(revision 14826)
+++ eel/eel-editable-label.c	(working copy)
@@ -250,7 +250,7 @@
   GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (class);
   GtkBindingSet *binding_set;
 
-  parent_class = gtk_type_class (GTK_TYPE_MISC);
+  parent_class = g_type_class_ref (GTK_TYPE_MISC);
   
   gobject_class->set_property = eel_editable_label_set_property;
   gobject_class->get_property = eel_editable_label_get_property;
