diff options
Diffstat (limited to 'mate-session')
-rw-r--r-- | mate-session/gsm-autostart-app.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-session/gsm-autostart-app.c b/mate-session/gsm-autostart-app.c index 04cc8e6..37c2228 100644 --- a/mate-session/gsm-autostart-app.c +++ b/mate-session/gsm-autostart-app.c @@ -307,13 +307,14 @@ setup_gsettings_condition_monitor (GsmAutostartApp *app, return FALSE; settings = g_settings_new (elems[0]); - retval = g_settings_get_boolean (settings, elems[1]); signal = g_strdup_printf ("changed::%s", elems[1]); g_signal_connect (G_OBJECT (settings), signal, G_CALLBACK (gsettings_condition_cb), app); g_free (signal); + retval = g_settings_get_boolean (settings, elems[1]); + app->priv->condition_settings = settings; g_strfreev (elems); |