summaryrefslogtreecommitdiff
path: root/src/eom-preferences-dialog.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 15:59:24 +0300
committermonsta <[email protected]>2016-02-01 16:12:10 +0300
commit83cd3ac26d0f937d625a228a564bd735fae568b2 (patch)
treec87cd90739f9b2f20b99b1e96eb92db8bce205ce /src/eom-preferences-dialog.c
parentbe98824189cc7d5aea0ac4473e49ea42eb687d78 (diff)
downloadeom-83cd3ac26d0f937d625a228a564bd735fae568b2.tar.bz2
eom-83cd3ac26d0f937d625a228a564bd735fae568b2.tar.xz
fix build warnings and remove useless nested #if
Diffstat (limited to 'src/eom-preferences-dialog.c')
-rw-r--r--src/eom-preferences-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eom-preferences-dialog.c b/src/eom-preferences-dialog.c
index c90d9f1..076f583 100644
--- a/src/eom-preferences-dialog.c
+++ b/src/eom-preferences-dialog.c
@@ -314,13 +314,15 @@ eom_preferences_dialog_constructor (GType type,
}
static void
-eom_preferences_dialog_dispose (EomPreferencesDialog *pref_dlg)
+eom_preferences_dialog_dispose (GObject *object)
{
- pref_dlg->priv = EOM_PREFERENCES_DIALOG_GET_PRIVATE (pref_dlg);
+ EomPreferencesDialog *pref_dlg = EOM_PREFERENCES_DIALOG (object);
g_object_unref (pref_dlg->priv->view_settings);
g_object_unref (pref_dlg->priv->fullscreen_settings);
g_object_unref (pref_dlg->priv->ui_settings);
+
+ G_OBJECT_CLASS (eom_preferences_dialog_parent_class)->dispose (object);
}
static void