aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-09 20:32:32 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-09 20:32:32 +0800
commit513b764e2f6a6e26ff0046f2bbbecacfc3dec749 (patch)
treeac38db19280512fc7935b38999b544dd240d5629 /src/empathy-main-window.c
parent6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d (diff)
downloadgsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.tar
gsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.tar.gz
gsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.tar.bz2
gsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.tar.lz
gsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.tar.xz
gsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.tar.zst
gsoc2013-empathy-513b764e2f6a6e26ff0046f2bbbecacfc3dec749.zip
main-window: save the size of the window when destroyed
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c4
1 files changed, 4 insertions, 0 deletions
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);