aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-09 20:24:32 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-09 20:24:32 +0800
commit6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d (patch)
tree906bbb5299a3d0a50d0e56de232913ff5877deb2 /src
parent9280234db0c507bcaee37841fa2f129ccfa87b0b (diff)
downloadgsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.tar
gsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.tar.gz
gsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.tar.bz2
gsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.tar.lz
gsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.tar.xz
gsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.tar.zst
gsoc2013-empathy-6b1512f94a9d211a7bab9ae44f1fd67b94d8e92d.zip
empathy-ft-manager: save the size of the window when disposing
Diffstat (limited to 'src')
-rw-r--r--src/empathy-ft-manager.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index 9f6c1f327..ff12c9b6b 100644
--- a/src/empathy-ft-manager.c
+++ b/src/empathy-ft-manager.c
@@ -1093,6 +1093,7 @@ ft_manager_build_ui (EmpathyFTManager *manager)
static void
empathy_ft_manager_finalize (GObject *object)
{
+ EmpathyFTManager *self = EMPATHY_FT_MANAGER (object);
EmpathyFTManagerPriv *priv = GET_PRIV (object);
DEBUG ("FT Manager %p", object);
@@ -1100,7 +1101,10 @@ empathy_ft_manager_finalize (GObject *object)
g_hash_table_destroy (priv->ft_handler_to_row_ref);
if (priv->save_geometry_id != 0)
- g_source_remove (priv->save_geometry_id);
+ {
+ g_source_remove (priv->save_geometry_id);
+ ft_manager_save_geometry_timeout_cb (self);
+ }
G_OBJECT_CLASS (empathy_ft_manager_parent_class)->finalize (object);
}