[gnome-builder/wip/gtk4-port: 847/1774] plugins/clang: cleanup type definition
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 847/1774] plugins/clang: cleanup type definition
- Date: Mon, 11 Jul 2022 22:31:26 +0000 (UTC)
commit b78810b860111252ba782b65129d155f92b27dac
Author: Christian Hergert <chergert redhat com>
Date: Mon May 2 17:38:22 2022 -0700
plugins/clang: cleanup type definition
src/plugins/clang/ide-clang-highlighter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/clang/ide-clang-highlighter.c b/src/plugins/clang/ide-clang-highlighter.c
index f1d276aa7..c9ca40a8d 100644
--- a/src/plugins/clang/ide-clang-highlighter.c
+++ b/src/plugins/clang/ide-clang-highlighter.c
@@ -42,8 +42,8 @@ struct _IdeClangHighlighter
static void highlighter_iface_init (IdeHighlighterInterface *iface);
static void ide_clang_highlighter_queue_udpate (IdeClangHighlighter *self);
-G_DEFINE_TYPE_EXTENDED (IdeClangHighlighter, ide_clang_highlighter, IDE_TYPE_OBJECT, G_TYPE_FLAG_FINAL,
- G_IMPLEMENT_INTERFACE (IDE_TYPE_HIGHLIGHTER, highlighter_iface_init))
+G_DEFINE_FINAL_TYPE_WITH_CODE (IdeClangHighlighter, ide_clang_highlighter, IDE_TYPE_OBJECT,
+ G_IMPLEMENT_INTERFACE (IDE_TYPE_HIGHLIGHTER, highlighter_iface_init))
static inline gboolean
accepts_char (gunichar ch)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]