diff options
Diffstat (limited to 'src/eom-preferences-dialog.c')
-rw-r--r-- | src/eom-preferences-dialog.c | 6 |
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 |