[gnome-calendar/ui-rewrite] window: fix timeout resource handler
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/ui-rewrite] window: fix timeout resource handler
- Date: Sat, 27 Sep 2014 14:14:50 +0000 (UTC)
commit da932cef1bf86057d238355cfcce1f1052f6a6da
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Sep 27 10:12:52 2014 -0400
window: fix timeout resource handler
Update the handler after the save_geometry(...) method is called
src/gcal-window.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 779048c..f35a05b 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -360,7 +360,10 @@ save_geometry (gpointer user_data)
maximized);
if (maximized)
- return FALSE;
+ {
+ priv->save_geometry_timeout_id = 0;
+ return FALSE;
+ }
/* save window's size */
gtk_window_get_size (self,
@@ -386,6 +389,8 @@ save_geometry (gpointer user_data)
"window-position",
variant);
+ priv->save_geometry_timeout_id = 0;
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]