[gnome-builder/wip/chergert/multi-process] worker: more tracing and assertions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/multi-process] worker: more tracing and assertions
- Date: Wed, 21 Oct 2015 01:31:24 +0000 (UTC)
commit 21d5decc24320b372208dae0816e8179187b7958
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 20 18:29:44 2015 -0700
worker: more tracing and assertions
libide/ide-worker-manager.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libide/ide-worker-manager.c b/libide/ide-worker-manager.c
index 1c1edce..b216f76 100644
--- a/libide/ide-worker-manager.c
+++ b/libide/ide-worker-manager.c
@@ -146,7 +146,7 @@ ide_worker_manager_constructed (GObject *object)
if (error != NULL)
{
- g_printerr ("%s\n", error->message);
+ g_error ("%s", error->message);
exit (EXIT_FAILURE);
}
@@ -156,8 +156,11 @@ ide_worker_manager_constructed (GObject *object)
self,
G_CONNECT_SWAPPED);
+ IDE_TRACE_MSG ("GDBusServer listening at %s", address);
- g_assert (self->dbus_server != NULL);
+ g_dbus_server_start (self->dbus_server);
+
+ g_assert (g_dbus_server_is_active (self->dbus_server));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]