[sysprof] libsysprof-ui: include config



commit 7d1570a92f782b8e80457fbef678e523fdfb67e0
Author: Christian Hergert <chergert redhat com>
Date:   Sun May 12 18:09:42 2019 -0700

    libsysprof-ui: include config

 src/libsysprof-ui/sysprof-marks-view.c | 2 ++
 src/sysprof/sysprof-window.c           | 2 ++
 2 files changed, 4 insertions(+)
---
diff --git a/src/libsysprof-ui/sysprof-marks-view.c b/src/libsysprof-ui/sysprof-marks-view.c
index 7b50e2a..5a2afa1 100644
--- a/src/libsysprof-ui/sysprof-marks-view.c
+++ b/src/libsysprof-ui/sysprof-marks-view.c
@@ -20,6 +20,8 @@
 
 #define G_LOG_DOMAIN "sysprof-marks-view"
 
+#include "config.h"
+
 #include "sysprof-marks-view.h"
 
 typedef struct
diff --git a/src/sysprof/sysprof-window.c b/src/sysprof/sysprof-window.c
index 239964f..4a92dc8 100644
--- a/src/sysprof/sysprof-window.c
+++ b/src/sysprof/sysprof-window.c
@@ -845,6 +845,8 @@ sysprof_window_class_init (SysprofWindowClass *klass)
   gtk_widget_class_bind_template_child (widget_class, SysprofWindow, visualizers);
   gtk_widget_class_bind_template_child (widget_class, SysprofWindow, zoom_manager);
   gtk_widget_class_bind_template_child (widget_class, SysprofWindow, zoom_one_label);
+
+  g_type_ensure (SYSPROF_TYPE_MARKS_VIEW);
 }
 
 static void


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