summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2013-04-11 14:16:59 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2013-04-11 14:22:46 +0200
commitcc638033a635cd228063855cb866cd791cb59214 (patch)
tree8335b17dd249786bba510b2b7e1d913063827442
parenta879fd5cc4c742431866bd864600bda44e1478c4 (diff)
cosmetic: fix indentation and comment
-rw-r--r--gtk/spice-option.c10
-rw-r--r--gtk/spice-session.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/gtk/spice-option.c b/gtk/spice-option.c
index 9ae1381..8248544 100644
--- a/gtk/spice-option.c
+++ b/gtk/spice-option.c
@@ -188,11 +188,11 @@ void spice_set_session_option(SpiceSession *session)
}
if (disable_effects) {
- GStrv effects;
- effects = g_strsplit(disable_effects, ",", -1);
- if (effects)
- g_object_set(session, "disable-effects", effects, NULL);
- g_strfreev(effects);
+ GStrv effects;
+ effects = g_strsplit(disable_effects, ",", -1);
+ if (effects)
+ g_object_set(session, "disable-effects", effects, NULL);
+ g_strfreev(effects);
}
if (color_depth)
g_object_set(session, "color-depth", color_depth, NULL);
diff --git a/gtk/spice-session.c b/gtk/spice-session.c
index 82beb5e..3cbfd29 100644
--- a/gtk/spice-session.c
+++ b/gtk/spice-session.c
@@ -859,7 +859,7 @@ static void spice_session_class_init(SpiceSessionClass *klass)
/**
* SpiceSession:disable-effects:
*
- * A comma-separated list of effects to disable. The settings will
+ * A string array of effects to disable. The settings will
* be applied on new display channels. The following effets can be
* disabled "wallpaper", "font-smooth", "animation", and "all",
* which will disable all the effects. If NULL, don't apply changes.