aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-preferences-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-preferences-window.c')
-rw-r--r--widgets/misc/e-preferences-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/misc/e-preferences-window.c b/widgets/misc/e-preferences-window.c
index 3bce24371e..986d66f206 100644
--- a/widgets/misc/e-preferences-window.c
+++ b/widgets/misc/e-preferences-window.c
@@ -556,6 +556,10 @@ e_preferences_window_setup (EPreferencesWindow *window)
g_return_if_fail (E_IS_PREFERENCES_WINDOW (window));
priv = E_PREFERENCES_WINDOW_GET_PRIVATE (window);
+
+ if (priv->setup)
+ return;
+
notebook = GTK_NOTEBOOK (priv->notebook);
num = gtk_notebook_get_n_pages (notebook);