libsysprof-ui: add access to control source from .ui

This commit is contained in:
Christian Hergert
2020-03-13 15:18:16 -07:00
parent e0de0a94df
commit 390c5cde18
3 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include "sysprof-platform.h"
#include "sysprof-aid-icon.h"
#include "sysprof-control-source.h"
#include "sysprof-environ-editor.h"
#include "sysprof-model-filter.h"
#include "sysprof-profiler-assistant.h"
@ -394,6 +395,7 @@ sysprof_profiler_assistant_class_init (SysprofProfilerAssistantClass *klass)
g_type_ensure (SYSPROF_TYPE_AID_ICON);
g_type_ensure (SYSPROF_TYPE_BATTERY_AID);
g_type_ensure (SYSPROF_TYPE_CALLGRAPH_AID);
g_type_ensure (SYSPROF_TYPE_CONTROL_SOURCE);
g_type_ensure (SYSPROF_TYPE_CPU_AID);
g_type_ensure (SYSPROF_TYPE_DISKSTAT_SOURCE);
g_type_ensure (SYSPROF_TYPE_ENVIRON_EDITOR);

View File

@ -26,8 +26,10 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_CONTROL_SOURCE (sysprof_control_source_get_type())
SYSPROF_AVAILABLE_IN_3_38
G_DECLARE_FINAL_TYPE (SysprofControlSource, sysprof_control_source, SYSPROF, CONTROL_SOURCE, GObject)
SYSPROF_AVAILABLE_IN_3_38
SysprofControlSource *sysprof_control_source_new (void);
G_END_DECLS

View File

@ -28,6 +28,7 @@ G_BEGIN_DECLS
# include "sysprof-callgraph-profile.h"
# include "sysprof-capture-gobject.h"
# include "sysprof-capture-symbol-resolver.h"
# include "sysprof-control-source.h"
# include "sysprof-diskstat-source.h"
# include "sysprof-elf-symbol-resolver.h"
# include "sysprof-gjs-source.h"