From 513b764e2f6a6e26ff0046f2bbbecacfc3dec749 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 9 Nov 2009 12:32:32 +0000 Subject: main-window: save the size of the window when destroyed --- src/empathy-main-window.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/empathy-main-window.c') diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 3ac36ae52..4db232b97 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); -- cgit v1.2.3