[empathy] main-window: save the size of the window when destroyed



commit 513b764e2f6a6e26ff0046f2bbbecacfc3dec749
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Nov 9 12:32:32 2009 +0000

    main-window: save the size of the window when destroyed

 src/empathy-main-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 3ac36ae..4db232b 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -117,6 +117,9 @@ typedef struct {
 
 static EmpathyMainWindow *main_window = NULL;
 
+static gboolean main_window_configure_event_timeout_cb (
+    EmpathyMainWindow *window);
+
 static void
 main_window_flash_stop (EmpathyMainWindow *window)
 {
@@ -648,6 +651,7 @@ main_window_destroy_cb (GtkWidget         *widget,
 
 	if (window->size_timeout_id) {
 		g_source_remove (window->size_timeout_id);
+		main_window_configure_event_timeout_cb (window);
 	}
 
 	g_list_free (window->actions_connected);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]