[gedit] Call save_window_state only once in gedit_window_dispose
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Call save_window_state only once in gedit_window_dispose
- Date: Sun, 13 Jun 2010 10:36:29 +0000 (UTC)
commit e15aadb6da25c624dfe9b15c7784a9c803353908
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sun Jun 13 12:36:22 2010 +0200
Call save_window_state only once in gedit_window_dispose
gedit/gedit-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 652ee61..34974a5 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -242,8 +242,6 @@ gedit_window_dispose (GObject *object)
window = GEDIT_WINDOW (object);
- save_window_state (GTK_WIDGET (window));
-
/* Stop tracking removal of panes otherwise we always
* end up with thinking we had no pane active, since they
* should all be removed below */
@@ -263,6 +261,7 @@ gedit_window_dispose (GObject *object)
* for this window, but only once */
if (!window->priv->dispose_has_run)
{
+ save_window_state (GTK_WIDGET (window));
save_panes_state (window);
gedit_plugins_engine_deactivate_plugins (gedit_plugins_engine_get_default (),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]