ensure that all settings are saved
[prss.git] / src / main.c
index 7379a64..e7d17d0 100644 (file)
@@ -451,12 +451,14 @@ static void save_settings()
        gtk_window_get_size(window, &w, &h);
        gtk_window_get_position(window, &x, &y);
 
-       log_debug("save_settings(): x=%d, y=%d", x, y);
+       log_debug("save_settings(): x=%d, y=%d, w=%d, h=%d", x, y, w, h);
 
        g_settings_set_int(settings, "window-x", x);
        g_settings_set_int(settings, "window-y", y);
        g_settings_set_int(settings, "window-width", w);
        g_settings_set_int(settings, "window-height", h);
+
+       g_settings_sync();
 }
 
 gboolean