From 791d004241cff29a1143dca4d44aea07896f7381 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 21 Aug 2012 14:27:04 -0500 Subject: ...and if we're not clearing that in dispose(), then we don't need dispose() anymore --- src/idoswitchmenuitem.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/idoswitchmenuitem.c') diff --git a/src/idoswitchmenuitem.c b/src/idoswitchmenuitem.c index 6a0be34..192323d 100644 --- a/src/idoswitchmenuitem.c +++ b/src/idoswitchmenuitem.c @@ -39,15 +39,6 @@ struct _IdoSwitchMenuItemPrivate G_DEFINE_TYPE (IdoSwitchMenuItem, ido_switch_menu_item, GTK_TYPE_CHECK_MENU_ITEM) -static void -ido_switch_menu_item_dispose (GObject *object) -{ - IdoSwitchMenuItem * self = IDO_SWITCH_MENU_ITEM(object); - IdoSwitchMenuItemPrivate *p = self->priv; - - G_OBJECT_CLASS (ido_switch_menu_item_parent_class)->dispose (object); -} - static void ido_switch_menu_item_class_init (IdoSwitchMenuItemClass *klass) { @@ -56,7 +47,6 @@ ido_switch_menu_item_class_init (IdoSwitchMenuItemClass *klass) GtkCheckMenuItemClass * check_class; gobject_class = G_OBJECT_CLASS (klass); - gobject_class->dispose = ido_switch_menu_item_dispose; g_type_class_add_private (gobject_class, sizeof (IdoSwitchMenuItemPrivate)); widget_class = GTK_WIDGET_CLASS (klass); -- cgit v1.2.3