[gnome-flashback/wip/desktop-background: 1/4] desktop-background: don't queue background change in init



commit e660a7c00be1f7b88f4c7395bb976110c25fbf00
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]