aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-21 14:27:04 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-21 14:27:04 -0500
commit791d004241cff29a1143dca4d44aea07896f7381 (patch)
tree0c36b39e8ec07a3854c5d2c71856754380ce7c4a
parentc0af3f554befb151128beb21119c0f621222fe14 (diff)
downloadayatana-ido-791d004241cff29a1143dca4d44aea07896f7381.tar.gz
ayatana-ido-791d004241cff29a1143dca4d44aea07896f7381.tar.bz2
ayatana-ido-791d004241cff29a1143dca4d44aea07896f7381.zip
...and if we're not clearing that in dispose(), then we don't need dispose() anymore
-rw-r--r--src/idoswitchmenuitem.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/idoswitchmenuitem.c b/src/idoswitchmenuitem.c
index 6a0be34..192323d 100644
--- a/src/idoswitchmenuitem.c
+++ b/src/idoswitchmenuitem.c
@@ -40,15 +40,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)
{
GObjectClass * gobject_class;
@@ -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);