diff options
author | Monsta <[email protected]> | 2015-02-18 15:45:38 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-02-25 23:29:22 +0100 |
commit | 22045b677209b131144eb6971c1ff0e1325218ba (patch) | |
tree | dfef45f89c70e9af218c97735a363e9bae21dc41 /src/core/prefs.c | |
parent | 778962012e82d3b1b5049660bab9db3617096247 (diff) | |
download | marco-22045b677209b131144eb6971c1ff0e1325218ba.tar.bz2 marco-22045b677209b131144eb6971c1ff0e1325218ba.tar.xz |
prefs: first connect to settings, then read them.
fixes the issue with GLib >= 2.43,
https://git.gnome.org/browse/glib/commit/?id=8ff5668a458344da22d30491e3ce726d861b3619
Closes https://github.com/mate-desktop/marco/pull/174
Diffstat (limited to 'src/core/prefs.c')
-rw-r--r-- | src/core/prefs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c index 8847614e..09431727 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -890,13 +890,6 @@ meta_prefs_init (void) g_hash_table_insert (settings_schemas, KEY_MATE_TERMINAL_SCHEMA, settings_mate_terminal); g_hash_table_insert (settings_schemas, KEY_MATE_MOUSE_SCHEMA, settings_mate_mouse); - /* Pick up initial values. */ - - handle_preference_init_enum (); - handle_preference_init_bool (); - handle_preference_init_string (); - handle_preference_init_int (); - g_signal_connect (settings_general, "changed", G_CALLBACK (change_notify), NULL); g_signal_connect (settings_command, "changed", G_CALLBACK (change_notify), NULL); g_signal_connect (settings_screen_bindings, "changed", G_CALLBACK (change_notify), NULL); @@ -909,6 +902,13 @@ meta_prefs_init (void) g_signal_connect (settings_mate_mouse, "changed::" KEY_MATE_MOUSE_CURSOR_THEME, G_CALLBACK (change_notify), NULL); g_signal_connect (settings_mate_mouse, "changed::" KEY_MATE_MOUSE_CURSOR_SIZE, G_CALLBACK (change_notify), NULL); + /* Pick up initial values. */ + + handle_preference_init_enum (); + handle_preference_init_bool (); + handle_preference_init_string (); + handle_preference_init_int (); + init_bindings (); init_commands (); init_workspace_names (); |