diff options
author | infirit <[email protected]> | 2014-07-06 16:31:12 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-14 13:07:44 +0200 |
commit | 59c66fd0169b84fbbccf3dad672589f5d915d4a0 (patch) | |
tree | 177b32a5694fb94646d7f6a0b8bcea3448bc2373 /mate-panel/panel-ditem-editor.c | |
parent | 8b65935648a94ba427e1fa457336485662cddd42 (diff) | |
download | mate-panel-59c66fd0169b84fbbccf3dad672589f5d915d4a0.tar.bz2 mate-panel-59c66fd0169b84fbbccf3dad672589f5d915d4a0.tar.xz |
Replace GtkObject with GObject also for Gtk+ 2
Diffstat (limited to 'mate-panel/panel-ditem-editor.c')
-rw-r--r-- | mate-panel/panel-ditem-editor.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mate-panel/panel-ditem-editor.c b/mate-panel/panel-ditem-editor.c index 9521df17..e641e4d3 100644 --- a/mate-panel/panel-ditem-editor.c +++ b/mate-panel/panel-ditem-editor.c @@ -342,11 +342,7 @@ panel_ditem_editor_set_property (GObject *object, } static void -#if GTK_CHECK_VERSION (3, 0, 0) panel_ditem_editor_dispose (GObject *object) -#else -panel_ditem_editor_destroy (GtkObject *object) -#endif { PanelDItemEditor *dialog; @@ -374,30 +370,19 @@ panel_ditem_editor_destroy (GtkObject *object) g_free (dialog->priv->uri); dialog->priv->uri = NULL; -#if GTK_CHECK_VERSION (3, 0, 0) G_OBJECT_CLASS (panel_ditem_editor_parent_class)->dispose (object); -#else - GTK_OBJECT_CLASS (panel_ditem_editor_parent_class)->destroy (object); -#endif } static void panel_ditem_editor_class_init (PanelDItemEditorClass *class) { GObjectClass *gobject_class = G_OBJECT_CLASS (class); -#if !GTK_CHECK_VERSION (3, 0, 0) - GtkObjectClass *gtkobject_class = GTK_OBJECT_CLASS (class); -#endif gobject_class->constructor = panel_ditem_editor_constructor; gobject_class->get_property = panel_ditem_editor_get_property; gobject_class->set_property = panel_ditem_editor_set_property; -#if GTK_CHECK_VERSION (3, 0, 0) gobject_class->dispose = panel_ditem_editor_dispose; -#else - gtkobject_class->destroy = panel_ditem_editor_destroy; -#endif g_type_class_add_private (class, sizeof (PanelDItemEditorPrivate)); |