[gnome-builder] sysprof: add battery source



commit 0e95af2c0ed5a1841ed419796e207ba42c1ef530
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 13 20:26:39 2019 -0700

    sysprof: add battery source

 src/plugins/sysprof/gbp-sysprof-workspace-addin.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/plugins/sysprof/gbp-sysprof-workspace-addin.c 
b/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
index fd61fb6ac..90b4ba594 100644
--- a/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
+++ b/src/plugins/sysprof/gbp-sysprof-workspace-addin.c
@@ -140,6 +140,7 @@ profiler_run_handler (IdeRunManager *run_manager,
   g_autoptr(SysprofSource) gjs_source = NULL;
   g_autoptr(SysprofSource) gtk_source = NULL;
   g_autoptr(SysprofSource) symbols_source = NULL;
+  g_autoptr(SysprofSource) battery_source = NULL;
   g_autoptr(SysprofSpawnable) spawnable = NULL;
   g_autoptr(GPtrArray) sources = NULL;
   g_auto(GStrv) argv = NULL;
@@ -229,6 +230,9 @@ profiler_run_handler (IdeRunManager *run_manager,
   symbols_source = sysprof_symbols_source_new ();
   g_ptr_array_add (sources, symbols_source);
 
+  battery_source = sysprof_battery_source_new ();
+  g_ptr_array_add (sources, battery_source);
+
   /*
    * TODO:
    *


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