[gnome-builder] meson-templates: fix accidental changes to templates
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] meson-templates: fix accidental changes to templates
- Date: Mon, 13 Sep 2021 17:36:23 +0000 (UTC)
commit a5091ea85d118f312c7309b07adecf26da2b45f5
Author: Christian Hergert <chergert redhat com>
Date: Mon Sep 13 10:36:11 2021 -0700
meson-templates: fix accidental changes to templates
See
https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/54e74c9b085b3677a455bfb13724bf1e59c609d8#note_1268117
src/plugins/meson-templates/resources/src/application.h | 2 +-
src/plugins/meson-templates/resources/src/window.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/meson-templates/resources/src/application.h
b/src/plugins/meson-templates/resources/src/application.h
index ef697b644..d4a9bada0 100644
--- a/src/plugins/meson-templates/resources/src/application.h
+++ b/src/plugins/meson-templates/resources/src/application.h
@@ -8,7 +8,7 @@ G_BEGIN_DECLS
#define {{PREFIX}}_TYPE_APPLICATION ({{prefix_}}_application_get_type())
-G_DECLARE_TYPE ({{PreFix}}Application, {{prefix_}}_application, {{PREFIX}}, APPLICATION, GtkApplication)
+G_DECLARE_FINAL_TYPE ({{PreFix}}Application, {{prefix_}}_application, {{PREFIX}}, APPLICATION,
GtkApplication)
{{PreFix}}Application *{{prefix_}}_application_new (gchar *application_id,
{{Spaces}}{{spaces}} GApplicationFlags flags);
diff --git a/src/plugins/meson-templates/resources/src/window.h
b/src/plugins/meson-templates/resources/src/window.h
index 7bda5a87e..3e757b50f 100644
--- a/src/plugins/meson-templates/resources/src/window.h
+++ b/src/plugins/meson-templates/resources/src/window.h
@@ -8,6 +8,6 @@ G_BEGIN_DECLS
#define {{PREFIX}}_TYPE_WINDOW ({{prefix_}}_window_get_type())
-G_DECLARE_TYPE ({{PreFix}}Window, {{prefix_}}_window, {{PREFIX}}, WINDOW, GtkApplicationWindow)
+G_DECLARE_FINAL_TYPE ({{PreFix}}Window, {{prefix_}}_window, {{PREFIX}}, WINDOW, GtkApplicationWindow)
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]