[rygel] core: Fix build against vala git master
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Fix build against vala git master
- Date: Sat, 20 Mar 2010 23:57:46 +0000 (UTC)
commit a0d1c9bb30ae1207110e987d06d7bdf050568e02
Author: Jens Georg <mail jensge org>
Date: Sat Mar 20 17:56:47 2010 +0100
core: Fix build against vala git master
This does not affect build against vala 0.7.10.
src/rygel/cstuff.vapi | 4 ++--
src/rygel/rygel-main.vala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/rygel/cstuff.vapi b/src/rygel/cstuff.vapi
index e863be6..546c8c6 100644
--- a/src/rygel/cstuff.vapi
+++ b/src/rygel/cstuff.vapi
@@ -55,8 +55,8 @@ namespace CStuff {
*/
public class Utils {
[CCode (cname = "get_xml_element", cheader_filename = "cstuff.h")]
- public static weak Xml.Node * get_xml_element (Xml.Node node,
- ...);
+ public static unowned Xml.Node * get_xml_element (Xml.Node node,
+ ...);
[CCode (cname = "generate_random_udn", cheader_filename = "cstuff.h")]
public static string generate_random_udn ();
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index 2f4d5ca..3546822 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -189,7 +189,7 @@ public class Rygel.Main : Object {
}
private static int main (string[] args) {
- Main main;
+ Main main = null;
DBusService service;
var original_args = args;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]