]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: weak string -> unowned string
authorFlorian Brosch <flo.brosch@gmail.com>
Sun, 4 Apr 2010 17:40:51 +0000 (19:40 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Sun, 4 Apr 2010 17:40:51 +0000 (19:40 +0200)
src/libvaladoc/content/list.vala
src/libvaladoc/content/run.vala
src/libvaladoc/content/sourcecode.vala
src/libvaladoc/content/styleattributes.vala

index cf7f82aaf5b0ea46d8e996aa92bf618a09210329..256eb880588700d8070f8331fdb14552b711f5f6 100755 (executable)
@@ -64,7 +64,7 @@ public class Valadoc.Content.List : ContentElement, Block {
                        return null;
                }
 
-               public weak string to_string () {
+               public unowned string to_string () {
                        switch (this) {
                        case Bullet.NONE:
                                return "none";
index 99d166e36f87251560cc19f74ef9676a4ce48607..519b424fe27f264219c57ecd0547af56418a19b2 100755 (executable)
@@ -72,7 +72,7 @@ public class Valadoc.Content.Run : InlineContent, Inline {
                        return null;
                }
 
-               public weak string to_string () {
+               public unowned string to_string () {
                        switch (this) {
                        case Style.NONE:
                                return "none";
index 13634b0dfa9c5d591e8014f294a0a97bc5944523..574a09623f5fb5a11338e1c9c2849c95b1db7d89 100755 (executable)
@@ -41,7 +41,7 @@ public class Valadoc.Content.SourceCode : ContentElement, Inline{
                        return null;
                }
 
-               public weak string to_string () {
+               public unowned string to_string () {
                        switch (this) {
                        case Language.GENIE:
                                return "Genie";
index 265f44452de97fdb61fbceb580d03cf88220cfc6..42a3caae8e3860899195315290e72f95812e1ec7 100755 (executable)
@@ -43,7 +43,7 @@ public enum Valadoc.Content.HorizontalAlign {
                return null;
        }
 
-       public weak string to_string () {
+       public unowned string to_string () {
                switch (this) {
                case HorizontalAlign.LEFT:
                        return "left";
@@ -80,7 +80,7 @@ public enum Valadoc.Content.VerticalAlign {
                return null;
        }
 
-       public weak string to_string () {
+       public unowned string to_string () {
                switch (this) {
                case VerticalAlign.TOP:
                        return "top";