[gnome-builder] sysprof: initialize the sysprof clock



commit aed5bd94de39a23d258e61ed9875b0365d2dca61
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 15 14:15:00 2016 -0700

    sysprof: initialize the sysprof clock

 plugins/sysprof/gbp-sysprof-plugin.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/sysprof/gbp-sysprof-plugin.c b/plugins/sysprof/gbp-sysprof-plugin.c
index 987ff07..c133d40 100644
--- a/plugins/sysprof/gbp-sysprof-plugin.c
+++ b/plugins/sysprof/gbp-sysprof-plugin.c
@@ -18,12 +18,15 @@
 
 #include <libpeas/peas.h>
 #include <ide.h>
+#include <sysprof.h>
 
 #include "gbp-sysprof-workbench-addin.h"
 
 void
 peas_register_types (PeasObjectModule *module)
 {
+  sp_clock_init ();
+
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_WORKBENCH_ADDIN,
                                               GBP_TYPE_SYSPROF_WORKBENCH_ADDIN);


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