[gxml] Changing some get to owned returning DomNode?



commit 9ac913f25ac432c5ea31de18a8eb16b6dd2198b7
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Sep 4 09:06:31 2017 -0500

    Changing some get to owned returning DomNode?
    
    This is important in prepareation on implementing
    them using returning owned objects, like GNode
    derived clasess.

 gxml/DomMutationObservers.vala |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gxml/DomMutationObservers.vala b/gxml/DomMutationObservers.vala
index 5d4e2bc..fa52a31 100644
--- a/gxml/DomMutationObservers.vala
+++ b/gxml/DomMutationObservers.vala
@@ -45,11 +45,11 @@ public class GXml.DomMutationObserverInit : GLib.Object {
 
 public interface GXml.DomMutationRecord : GLib.Object {
   public abstract string mtype { get; }
-  public abstract DomNode target { get; }
-  public abstract DomNodeList added_nodes { get; set; }
-  public abstract DomNodeList removed_nodes { get; set; }
-  public abstract DomNode? previous_sibling { get; }
-  public abstract DomNode? next_sibling { get; }
+  public abstract DomNode target { owned get; }
+  public abstract DomNodeList added_nodes { owned get; set; }
+  public abstract DomNodeList removed_nodes { owned get; set; }
+  public abstract DomNode? previous_sibling { owned get; }
+  public abstract DomNode? next_sibling { owned get; }
   public abstract string? attribute_name { get; }
   public abstract string? attribute_namespace { get; }
   public abstract string? old_value { get; }


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