[sysprof] libsysprof: wait until first queue_reload() to load



commit ee5bf79e6c8d4cb5fe81acf6837eaf2fb755066f
Author: Christian Hergert <chergert redhat com>
Date:   Fri May 10 19:25:50 2019 -0700

    libsysprof: wait until first queue_reload() to load
    
    We might need to query the server, so this ensures that we don't authenticate
    the polkit session until needed.

 src/libsysprof/sysprof-process-model.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/libsysprof/sysprof-process-model.c b/src/libsysprof/sysprof-process-model.c
index 987f6a2..8da944f 100644
--- a/src/libsysprof/sysprof-process-model.c
+++ b/src/libsysprof/sysprof-process-model.c
@@ -67,8 +67,6 @@ static void
 sysprof_process_model_init (SysprofProcessModel *self)
 {
   self->items = g_ptr_array_new_with_free_func (g_object_unref);
-
-  sysprof_process_model_queue_reload (self);
 }
 
 static guint


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