[valadoc] libvaladoc: weak string -> unowned string
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [valadoc] libvaladoc: weak string -> unowned string
- Date: Sat, 10 Apr 2010 21:31:44 +0000 (UTC)
commit 5c8574732ea8fd4ab714cf3263f10b4be99bb58f
Author: Florian Brosch <flo brosch gmail com>
Date: Sun Apr 4 19:40:51 2010 +0200
libvaladoc: weak string -> unowned string
src/libvaladoc/content/list.vala | 2 +-
src/libvaladoc/content/run.vala | 2 +-
src/libvaladoc/content/sourcecode.vala | 2 +-
src/libvaladoc/content/styleattributes.vala | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libvaladoc/content/list.vala b/src/libvaladoc/content/list.vala
index cf7f82a..256eb88 100755
--- a/src/libvaladoc/content/list.vala
+++ b/src/libvaladoc/content/list.vala
@@ -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";
diff --git a/src/libvaladoc/content/run.vala b/src/libvaladoc/content/run.vala
index 99d166e..519b424 100755
--- a/src/libvaladoc/content/run.vala
+++ b/src/libvaladoc/content/run.vala
@@ -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";
diff --git a/src/libvaladoc/content/sourcecode.vala b/src/libvaladoc/content/sourcecode.vala
index 13634b0..574a096 100755
--- a/src/libvaladoc/content/sourcecode.vala
+++ b/src/libvaladoc/content/sourcecode.vala
@@ -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";
diff --git a/src/libvaladoc/content/styleattributes.vala b/src/libvaladoc/content/styleattributes.vala
index 265f444..42a3caa 100755
--- a/src/libvaladoc/content/styleattributes.vala
+++ b/src/libvaladoc/content/styleattributes.vala
@@ -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";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]