diff options
author | infirit <[email protected]> | 2014-05-19 14:08:24 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-05-19 18:37:37 +0200 |
commit | 53be5f994d2c52142debdfdaf089ae077389cfbd (patch) | |
tree | 0fa3d45109140a79eccc2533daa39df3c33c1d50 /pluma/pluma-history-entry.c | |
parent | b3097ad42becf1943377a07919d7b9598386c13d (diff) | |
download | pluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.bz2 pluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.xz |
Replace GtkObject with Gobject in gtk+2 build
Diffstat (limited to 'pluma/pluma-history-entry.c')
-rw-r--r-- | pluma/pluma-history-entry.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pluma/pluma-history-entry.c b/pluma/pluma-history-entry.c index 3f28e8ad..cc010185 100644 --- a/pluma/pluma-history-entry.c +++ b/pluma/pluma-history-entry.c @@ -120,20 +120,12 @@ pluma_history_entry_get_property (GObject *object, } static void -#if GTK_CHECK_VERSION (3, 0, 0) pluma_history_entry_dispose (GObject *object) -#else -pluma_history_entry_destroy (GtkObject *object) -#endif { pluma_history_entry_set_enable_completion (PLUMA_HISTORY_ENTRY (object), FALSE); -#if GTK_CHECK_VERSION (3, 0, 0) G_OBJECT_CLASS (pluma_history_entry_parent_class)->dispose (object); -#else - GTK_OBJECT_CLASS (pluma_history_entry_parent_class)->destroy (object); -#endif } static void @@ -158,18 +150,11 @@ static void pluma_history_entry_class_init (PlumaHistoryEntryClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); -#if !GTK_CHECK_VERSION (3, 0, 0) - GtkObjectClass *gtkobject_class = GTK_OBJECT_CLASS (klass); -#endif object_class->set_property = pluma_history_entry_set_property; object_class->get_property = pluma_history_entry_get_property; object_class->finalize = pluma_history_entry_finalize; -#if GTK_CHECK_VERSION (3, 0, 0) object_class->dispose = pluma_history_entry_dispose; -#else - gtkobject_class->destroy = pluma_history_entry_destroy; -#endif g_object_class_install_property (object_class, PROP_HISTORY_ID, |