[sysprof/wip/chergert/sysprof-3] libsysprof: more fallbacks for bad proxy
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof: more fallbacks for bad proxy
- Date: Sun, 19 May 2019 01:40:28 +0000 (UTC)
commit 5ec955b4e61919a44579915b3f439c953a4c769b
Author: Christian Hergert <chergert redhat com>
Date: Sat May 18 18:29:47 2019 -0700
libsysprof: more fallbacks for bad proxy
src/libsysprof/sysprof-helpers.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-helpers.c b/src/libsysprof/sysprof-helpers.c
index 121ff47..06512a8 100644
--- a/src/libsysprof/sysprof-helpers.c
+++ b/src/libsysprof/sysprof-helpers.c
@@ -209,11 +209,15 @@ sysprof_helpers_list_processes_async (SysprofHelpers *self,
task = g_task_new (self, cancellable, callback, user_data);
g_task_set_source_tag (task, sysprof_helpers_list_processes_async);
- if (!fail_if_no_proxy (self, task))
+ if (self->proxy != NULL)
ipc_service_call_list_processes (self->proxy,
cancellable,
(GAsyncReadyCallback) sysprof_helpers_list_processes_cb,
g_steal_pointer (&task));
+ else
+ helpers_list_processes_async (cancellable,
+ sysprof_helpers_list_processes_local_cb,
+ g_steal_pointer (&task));
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]