[gnome-session] save: track app store in state structure



commit c7f61ab11d7939edcf7555fe44522b12281fb376
Author: Ray Strode <rstrode redhat com>
Date:   Wed Jan 17 10:05:18 2018 -0500

    save: track app store in state structure
    
    commit f7ff80775abd345a33e8a656ba019bc05e39d7bb attempts to save
    GsmApp specific state during session saving, but neglects to
    plumb through the app store to get to the state.
    
    This commit fixes that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790913

 gnome-session/gsm-session-save.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/gsm-session-save.c b/gnome-session/gsm-session-save.c
index 5272d24..31b611c 100644
--- a/gnome-session/gsm-session-save.c
+++ b/gnome-session/gsm-session-save.c
@@ -177,6 +177,8 @@ gsm_session_save (GsmStore  *client_store,
         data.dir = save_dir;
         data.discard_hash = g_hash_table_new_full (g_str_hash, g_str_equal,
                                                    g_free, NULL);
+        data.app_store = app_store;
+
         /* remove old saved session */
         gsm_session_clear_saved_session (save_dir, data.discard_hash);
         data.error = error;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]