[gnome-builder] buffer: pre-register some types
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buffer: pre-register some types
- Date: Mon, 6 Mar 2017 23:25:00 +0000 (UTC)
commit fdf926d18b765bdd8d309469b01ab7a72158eee9
Author: Christian Hergert <chergert redhat com>
Date: Mon Mar 6 15:24:48 2017 -0800
buffer: pre-register some types
In the past I've seen some weird type issues here, and they seem simple
enough to try to mitigate here.
libide/buffers/ide-buffer-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libide/buffers/ide-buffer-manager.c b/libide/buffers/ide-buffer-manager.c
index 6a21815..f57cc78 100644
--- a/libide/buffers/ide-buffer-manager.c
+++ b/libide/buffers/ide-buffer-manager.c
@@ -1536,6 +1536,9 @@ ide_buffer_manager_class_init (IdeBufferManagerClass *klass)
G_SIGNAL_RUN_LAST,
0, NULL, NULL, NULL,
G_TYPE_NONE, 1, IDE_TYPE_BUFFER);
+
+ g_type_ensure (GTK_SOURCE_TYPE_FILE_LOADER);
+ g_type_ensure (GTK_SOURCE_TYPE_FILE_SAVER);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]