[gnome-flashback/gnome-3-18] desktop-background: don't queue background change in init
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/gnome-3-18] desktop-background: don't queue background change in init
- Date: Thu, 28 Apr 2016 21:27:54 +0000 (UTC)
commit 5d1bc2700a078b37d2d64e9d5269fef7e0506291
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Apr 26 21:25:42 2016 +0300
desktop-background: don't queue background change in init
We will get changed event from GnomeBg after background will be
loaded from preferences.
.../libdesktop-background/gf-desktop-background.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/libdesktop-background/gf-desktop-background.c
b/gnome-flashback/libdesktop-background/gf-desktop-background.c
index 78b8495..0e24251 100644
--- a/gnome-flashback/libdesktop-background/gf-desktop-background.c
+++ b/gnome-flashback/libdesktop-background/gf-desktop-background.c
@@ -355,13 +355,12 @@ gf_desktop_background_init (GfDesktopBackground *background)
g_signal_connect (background->gnome_settings, "change-event",
G_CALLBACK (desktop_background_change_event), background);
- gnome_bg_load_from_preferences (background->bg, background->gnome_settings);
background->background = gf_background_window_new ();
g_signal_connect (background->background, "size-allocate",
G_CALLBACK (size_allocate), background);
- queue_background_change (background);
+ gnome_bg_load_from_preferences (background->bg, background->gnome_settings);
}
GfDesktopBackground *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]