[gnome-builder/wip/exalm/fix-vala] meson-template: Fix a warning in the legacy Vala template
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-builder/wip/exalm/fix-vala] meson-template: Fix a warning in the legacy Vala template
- Date: Tue, 15 Mar 2022 20:19:37 +0000 (UTC)
commit 8237b99001afd77606c2abce906642da1b1dd3a4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Mar 16 00:19:11 2022 +0400
    meson-template: Fix a warning in the legacy Vala template
 src/plugins/meson-templates/resources/src/window.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/meson-templates/resources/src/window.vala 
b/src/plugins/meson-templates/resources/src/window.vala
index 26fe751dd..4cc978a15 100644
--- a/src/plugins/meson-templates/resources/src/window.vala
+++ b/src/plugins/meson-templates/resources/src/window.vala
@@ -4,7 +4,7 @@ namespace {{PreFix}} {
        [GtkTemplate (ui = "{{appid_path}}/{{ui_file}}")]
        public class Window : Gtk.ApplicationWindow {
                [GtkChild]
-               Gtk.Label label;
+               private unowned Gtk.Label label;
 
                public Window (Gtk.Application app) {
                        Object (application: app);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]