[gitg/add-ref-actions: 1/4] Fix compilation warnings




commit 2ba756e7ccddbee6fb768969cdb9c04149e2c91f
Author: Alberto Fanjul <albertofanjul gmail com>
Date:   Sat Jan 29 03:31:08 2022 +0100

    Fix compilation warnings

 gitg/gitg-add-remote-action-dialog.vala | 6 +++---
 gitg/gitg-edit-remote-dialog.vala       | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gitg/gitg-add-remote-action-dialog.vala b/gitg/gitg-add-remote-action-dialog.vala
index 7f7b40a9..73cdbc45 100644
--- a/gitg/gitg-add-remote-action-dialog.vala
+++ b/gitg/gitg-add-remote-action-dialog.vala
@@ -24,13 +24,13 @@ namespace Gitg
 class AddRemoteActionDialog : Gtk.Dialog
 {
        [GtkChild]
-       private Gtk.Button d_button_create;
+       private unowned Gtk.Button d_button_create;
 
        [GtkChild]
-       private Gtk.Entry d_entry_remote_name;
+       private unowned Gtk.Entry d_entry_remote_name;
 
        [GtkChild]
-       private Gtk.Entry d_entry_remote_url;
+       private unowned Gtk.Entry d_entry_remote_url;
 
        construct
        {
diff --git a/gitg/gitg-edit-remote-dialog.vala b/gitg/gitg-edit-remote-dialog.vala
index e787dafc..b1535dba 100644
--- a/gitg/gitg-edit-remote-dialog.vala
+++ b/gitg/gitg-edit-remote-dialog.vala
@@ -24,13 +24,13 @@ namespace Gitg
 class EditRemoteDialog : Gtk.Dialog
 {
        [GtkChild]
-       private Gtk.Button d_button_save;
+       private unowned Gtk.Button d_button_save;
 
        [GtkChild]
-       private Gtk.Entry d_entry_remote_name;
+       private unowned Gtk.Entry d_entry_remote_name;
 
        [GtkChild]
-       private Gtk.Entry d_entry_remote_url;
+       private unowned Gtk.Entry d_entry_remote_url;
 
        construct
        {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]