[sysprof] libsysprof: ensure type exists for gjs



commit b7d2ef35bece0ad08081b96737d21819c5c8472c
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 3 19:02:50 2019 -0700

    libsysprof: ensure type exists for gjs

 src/libsysprof/sysprof-local-profiler.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libsysprof/sysprof-local-profiler.c b/src/libsysprof/sysprof-local-profiler.c
index e371e4f..c278634 100644
--- a/src/libsysprof/sysprof-local-profiler.c
+++ b/src/libsysprof/sysprof-local-profiler.c
@@ -33,6 +33,7 @@
 #include "sysprof-local-profiler.h"
 #include "sysprof-platform.h"
 
+#include "sysprof-gjs-source.h"
 #include "sysprof-hostinfo-source.h"
 #ifdef __linux__
 # include "sysprof-perf-source.h"
@@ -405,6 +406,7 @@ sysprof_local_profiler_class_init (SysprofLocalProfilerClass *klass)
   g_object_class_override_property (object_class, PROP_SPAWN_INHERIT_ENVIRON, "spawn-inherit-environ");
   g_object_class_override_property (object_class, PROP_WHOLE_SYSTEM, "whole-system");
 
+  g_type_ensure (SYSPROF_TYPE_GJS_SOURCE);
   g_type_ensure (SYSPROF_TYPE_HOSTINFO_SOURCE);
   g_type_ensure (SYSPROF_TYPE_PROC_SOURCE);
 #ifdef __linux__


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