[gtk+] filechooser: Use macros
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooser: Use macros
- Date: Thu, 24 Jan 2013 13:29:30 +0000 (UTC)
commit b112a85395c5e3cd28456f2c012289dc5938f818
Author: Benjamin Otte <otte redhat com>
Date: Mon Jan 21 03:14:14 2013 +0100
filechooser: Use macros
Thanks for not letting me catch that place when I was greeping...
gtk/gtkfilechooserdefault.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 71309fd..8fcc25f 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6074,8 +6074,8 @@ save_dialog_geometry (GtkFileChooserDefault *impl)
gtk_window_get_position (toplevel, &x, &y);
gtk_window_get_size (toplevel, &width, &height);
- g_settings_set (impl->settings, "window-position", "(ii)", x, y);
- g_settings_set (impl->settings, "window-size", "(ii)", width, height);
+ g_settings_set (impl->settings, SETTINGS_KEY_WINDOW_POSITION, "(ii)", x, y);
+ g_settings_set (impl->settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", width, height);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]