[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 16:04:23 +0000 (UTC)
commit 402823901e34d9a581efb8bfe58d1e67d6442aed
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Sep 27 00:14:17 2014 -0300
window: fix timeout resource handler
Update the handler after the save_geometry(...) method is called
src/gcal-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index f35a05b..f76991e 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -337,6 +337,7 @@ save_geometry (gpointer user_data)
{
GtkWindow *self;
GdkWindow *window;
+ GcalWindowPrivate *priv;
GdkWindowState state;
GcalApplication *app;
GSettings *settings;
@@ -349,6 +350,7 @@ save_geometry (gpointer user_data)
window = gtk_widget_get_window (GTK_WIDGET (self));
state = gdk_window_get_state (window);
+ priv = gcal_window_get_instance_private (GCAL_WINDOW (self));
app = GCAL_APPLICATION (gtk_window_get_application (self));
settings = gcal_application_get_settings (app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]