summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-11 12:25:31 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-11 12:25:31 -0500
commitfb937984af2091daac4a0303f2ccc066248dcc01 (patch)
tree024fc394149557cebe4df2f4da78c598c0499d17 /gtk/gtkfilechooserdialog.c
parentd4654dd10b762afdeb64fd6656a8cea6b440394b (diff)
downloadgtk+-fb937984af2091daac4a0303f2ccc066248dcc01.tar.gz
file chooser: Also apply the settings
I forgot that the settings object we're dealing with here is in delay mode, so settings won't apply immediately.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r--gtk/gtkfilechooserdialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index 5be8edc359..92cd00a1a0 100644
--- a/gtk/gtkfilechooserdialog.c
+++ b/gtk/gtkfilechooserdialog.c
@@ -643,6 +643,8 @@ save_dialog_geometry (GtkFileChooserDialog *dialog)
g_settings_get (settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", &old_width, &old_height);
if (old_width != width || old_height != height)
g_settings_set (settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", width, height);
+
+ g_settings_apply (settings);
}
static void