summaryrefslogtreecommitdiff
path: root/plugins/spell
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-19 14:08:24 +0200
committerinfirit <[email protected]>2014-05-19 18:37:37 +0200
commit53be5f994d2c52142debdfdaf089ae077389cfbd (patch)
tree0fa3d45109140a79eccc2533daa39df3c33c1d50 /plugins/spell
parentb3097ad42becf1943377a07919d7b9598386c13d (diff)
downloadpluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.bz2
pluma-53be5f994d2c52142debdfdaf089ae077389cfbd.tar.xz
Replace GtkObject with Gobject in gtk+2 build
Diffstat (limited to 'plugins/spell')
-rwxr-xr-xplugins/spell/pluma-spell-checker-dialog.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/spell/pluma-spell-checker-dialog.c b/plugins/spell/pluma-spell-checker-dialog.c
index 5a253252..b41feaf7 100755
--- a/plugins/spell/pluma-spell-checker-dialog.c
+++ b/plugins/spell/pluma-spell-checker-dialog.c
@@ -109,11 +109,7 @@ static guint signals [LAST_SIGNAL] = { 0 };
G_DEFINE_TYPE(PlumaSpellCheckerDialog, pluma_spell_checker_dialog, GTK_TYPE_WINDOW)
static void
-#if GTK_CHECK_VERSION (3, 0,0)
pluma_spell_checker_dialog_dispose (GObject *object)
-#else
-pluma_spell_checker_dialog_destroy (GtkObject *object)
-#endif
{
PlumaSpellCheckerDialog *dlg = PLUMA_SPELL_CHECKER_DIALOG (object);
@@ -129,11 +125,7 @@ pluma_spell_checker_dialog_destroy (GtkObject *object)
dlg->misspelled_word = NULL;
}
-#if GTK_CHECK_VERSION (3, 0,0)
G_OBJECT_CLASS (pluma_spell_checker_dialog_parent_class)->dispose (object);
-#else
- GTK_OBJECT_CLASS (pluma_spell_checker_dialog_parent_class)->destroy (object);
-#endif
}
static void
@@ -143,11 +135,7 @@ pluma_spell_checker_dialog_class_init (PlumaSpellCheckerDialogClass * klass)
object_class = G_OBJECT_CLASS (klass);
-#if GTK_CHECK_VERSION (3, 0, 0)
object_class->dispose = pluma_spell_checker_dialog_dispose;
-#else
- GTK_OBJECT_CLASS (object_class)->destroy = pluma_spell_checker_dialog_destroy;
-#endif
signals[IGNORE] =
g_signal_new ("ignore",