mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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.
This commit is contained in:
@ -67,8 +67,6 @@ static void
|
|||||||
sysprof_process_model_init (SysprofProcessModel *self)
|
sysprof_process_model_init (SysprofProcessModel *self)
|
||||||
{
|
{
|
||||||
self->items = g_ptr_array_new_with_free_func (g_object_unref);
|
self->items = g_ptr_array_new_with_free_func (g_object_unref);
|
||||||
|
|
||||||
sysprof_process_model_queue_reload (self);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static guint
|
static guint
|
||||||
|
|||||||
Reference in New Issue
Block a user