window: fix timeout resource handler
Update the handler after the save_geometry(...) method is called
This commit is contained in:
committed by
Erick Pérez Castellanos
parent
4f241168de
commit
a9e8eb311a
@@ -337,6 +337,7 @@ save_geometry (gpointer user_data)
|
|||||||
{
|
{
|
||||||
GtkWindow *self;
|
GtkWindow *self;
|
||||||
GdkWindow *window;
|
GdkWindow *window;
|
||||||
|
GcalWindowPrivate *priv;
|
||||||
GdkWindowState state;
|
GdkWindowState state;
|
||||||
GcalApplication *app;
|
GcalApplication *app;
|
||||||
GSettings *settings;
|
GSettings *settings;
|
||||||
@@ -349,6 +350,7 @@ save_geometry (gpointer user_data)
|
|||||||
|
|
||||||
window = gtk_widget_get_window (GTK_WIDGET (self));
|
window = gtk_widget_get_window (GTK_WIDGET (self));
|
||||||
state = gdk_window_get_state (window);
|
state = gdk_window_get_state (window);
|
||||||
|
priv = gcal_window_get_instance_private (GCAL_WINDOW (self));
|
||||||
|
|
||||||
app = GCAL_APPLICATION (gtk_window_get_application (self));
|
app = GCAL_APPLICATION (gtk_window_get_application (self));
|
||||||
settings = gcal_application_get_settings (app);
|
settings = gcal_application_get_settings (app);
|
||||||
|
|||||||
Reference in New Issue
Block a user