[gnome-flashback] libdesktop-background: fix background changing
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] libdesktop-background: fix background changing
- Date: Sat, 13 Dec 2014 11:39:11 +0000 (UTC)
commit 0771301df4b726e77335b77b52ed6b8a7ac88a65
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Dec 13 13:10:31 2014 +0200
libdesktop-background: fix background changing
New glib requires first to connect to "changed" signal and then
read values to get changed signals.
https://bugzilla.gnome.org/show_bug.cgi?id=733791
.../libdesktop-background/desktop-background.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libdesktop-background/desktop-background.c
b/gnome-flashback/libdesktop-background/desktop-background.c
index 7efe2f5..b88a274 100644
--- a/gnome-flashback/libdesktop-background/desktop-background.c
+++ b/gnome-flashback/libdesktop-background/desktop-background.c
@@ -441,10 +441,9 @@ desktop_background_init (DesktopBackground *background)
g_signal_connect (priv->bg, "transitioned",
G_CALLBACK (desktop_background_transitioned), background);
- gnome_bg_load_from_preferences (priv->bg, priv->gnome_settings);
-
g_signal_connect (priv->gnome_settings, "change-event",
G_CALLBACK (desktop_background_change_event), background);
+ gnome_bg_load_from_preferences (priv->bg, priv->gnome_settings);
priv->background = desktop_window_new ();
g_signal_connect (priv->background, "size-allocate",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]