summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/background/msd-background-manager.c11
-rw-r--r--plugins/background/test-background.c2
2 files changed, 7 insertions, 6 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c
index 6a567c5..6e92c69 100644
--- a/plugins/background/msd-background-manager.c
+++ b/plugins/background/msd-background-manager.c
@@ -213,7 +213,6 @@
gdk_screen_get_height(screen),
TRUE);
- /*
if (use_crossfade)
{
MateBGCrossfade* fade;
@@ -222,9 +221,11 @@
g_signal_connect(fade,
"finished",
G_CALLBACK (g_object_unref), NULL);
- } else {*/
+ }
+ else
+ {
mate_bg_set_pixmap_as_root(screen, pixmap);
- /* }*/
+ }
g_object_unref(pixmap);
}
@@ -281,10 +282,10 @@
manager->priv->bg = mate_bg_new();
- g_signal_connect(manager->priv->bg,
+ /*g_signal_connect(manager->priv->bg,
"changed",
G_CALLBACK(on_bg_changed),
- manager);
+ manager);*/
/*g_signal_connect(manager->priv->bg,
"transitioned",
diff --git a/plugins/background/test-background.c b/plugins/background/test-background.c
index 1d0be35..28817cc 100644
--- a/plugins/background/test-background.c
+++ b/plugins/background/test-background.c
@@ -33,7 +33,7 @@
static gboolean
idle (MsdBackgroundManager* manager)
{
- msd_background_manager_start (manager, NULL);
+ msd_background_manager_start(manager, NULL);
return FALSE;
}