diff options
author | Perberos <[email protected]> | 2012-06-05 13:05:34 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2012-06-05 13:05:34 -0300 |
commit | c70776f31ccd0551a7694ec4485ed26a0a53f9cd (patch) | |
tree | b93d8162efa3ca0450736f0b8b06e23fe9e89925 /plugins/background | |
parent | d22aab3682bdd800f6a6e7c2a0ef6b6cfd8ffe03 (diff) | |
download | mate-settings-daemon-c70776f31ccd0551a7694ec4485ed26a0a53f9cd.tar.bz2 mate-settings-daemon-c70776f31ccd0551a7694ec4485ed26a0a53f9cd.tar.xz |
commenting "changed" callback, related with issue #16 on mate-desktop (https://github.com/mate-desktop/mate-desktop/issues/16)
Diffstat (limited to 'plugins/background')
-rw-r--r-- | plugins/background/msd-background-manager.c | 11 | ||||
-rw-r--r-- | plugins/background/test-background.c | 2 |
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; } |