summaryrefslogtreecommitdiff
path: root/mate-session/gsm-autostart-app.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-02-19 17:53:28 +0300
committerStefano Karapetsas <[email protected]>2015-02-25 23:41:24 +0100
commit955c94b22d584c82548ce5fb664d2fcf2537aaa7 (patch)
treec9f6091c438d7b7d66454f0319641c0a719488e8 /mate-session/gsm-autostart-app.c
parent27954f902adfb2e3b446a5e08b0632c0b20f64bf (diff)
downloadmate-session-manager-955c94b22d584c82548ce5fb664d2fcf2537aaa7.tar.bz2
mate-session-manager-955c94b22d584c82548ce5fb664d2fcf2537aaa7.tar.xz
make indentation more consistent, removed excessive var assignment
Diffstat (limited to 'mate-session/gsm-autostart-app.c')
-rw-r--r--mate-session/gsm-autostart-app.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/mate-session/gsm-autostart-app.c b/mate-session/gsm-autostart-app.c
index 41cdfb6..972dfe5 100644
--- a/mate-session/gsm-autostart-app.c
+++ b/mate-session/gsm-autostart-app.c
@@ -279,15 +279,13 @@ setup_gsettings_condition_monitor (GsmAutostartApp *app,
const char *key)
{
GSettingsSchemaSource *source;
- GSettingsSchema *schema;
- GSettings *settings;
+ GSettingsSchema *schema;
+ GSettings *settings;
char **elems;
- gboolean retval = FALSE;
+ gboolean retval = FALSE;
char *signal;
- retval = FALSE;
-
- elems = g_strsplit (key, " ", 2);
+ elems = g_strsplit (key, " ", 2);
if (elems == NULL)
goto out;
@@ -300,10 +298,10 @@ setup_gsettings_condition_monitor (GsmAutostartApp *app,
schema = g_settings_schema_source_lookup (source, elems[0], TRUE);
if (schema == NULL)
- goto out;
+ goto out;
settings = g_settings_new_full (schema, NULL, NULL);
- g_settings_schema_unref (schema);
+ g_settings_schema_unref (schema);
signal = g_strdup_printf ("changed::%s", elems[1]);
g_signal_connect (G_OBJECT (settings), signal,