aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-03-16 20:47:20 +0800
committerMilan Crha <mcrha@redhat.com>2012-03-16 20:47:20 +0800
commit60f3e852e7246e3107b80cfa72a76e0c50753ede (patch)
tree091c99289f14a91d80a6b97db27bc5a3789d8fbf /widgets/misc
parent608069630f978c2da37bc57ee58342ba9d16f70f (diff)
downloadgsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.tar
gsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.tar.gz
gsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.tar.bz2
gsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.tar.lz
gsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.tar.xz
gsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.tar.zst
gsoc2013-evolution-60f3e852e7246e3107b80cfa72a76e0c50753ede.zip
Bug #665130 - Memory leaks in Preferences and ETable
Diffstat (limited to 'widgets/misc')
-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);