[empathy/gnome-2-28] main-window: save the size of the window when destroyed



commit 9c821df37df1247c515c1e9b0a5406b1915324e2
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 8b1c412..cafafbf 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -115,6 +115,9 @@ typedef struct {
 
 static EmpathyMainWindow *window = NULL;
 
+static gboolean main_window_configure_event_timeout_cb (
+    EmpathyMainWindow *window);
+
 static void
 main_window_flash_stop (EmpathyMainWindow *window)
 {
@@ -647,6 +650,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]