[gtksourceview] init: include preview widget when initializing
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] init: include preview widget when initializing
- Date: Mon, 11 Oct 2021 23:54:36 +0000 (UTC)
commit 4915558881084d345360f6256fd421ec7fe22f5a
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 11 16:54:23 2021 -0700
init: include preview widget when initializing
gtksourceview/gtksourceinit.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtksourceview/gtksourceinit.c b/gtksourceview/gtksourceinit.c
index 2a5918df..34c8d86a 100644
--- a/gtksourceview/gtksourceinit.c
+++ b/gtksourceview/gtksourceinit.c
@@ -44,6 +44,7 @@
#include "gtksourcestyleschemechooserwidget.h"
#include "gtksourcestyleschememanager-private.h"
#include "gtksourcestyleschememanager-private.h"
+#include "gtksourcestyleschemepreview.h"
#include "gtksourceview.h"
#ifdef G_OS_WIN32
@@ -200,6 +201,7 @@ gtk_source_init (void)
g_type_ensure (GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER);
g_type_ensure (GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER_BUTTON);
g_type_ensure (GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER_WIDGET);
+ g_type_ensure (GTK_SOURCE_TYPE_STYLE_SCHEME_PREVIEW);
g_type_ensure (GTK_SOURCE_TYPE_VIEW);
display = gdk_display_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]