[tracker] VAPI files: add missing constructors to various classes
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] VAPI files: add missing constructors to various classes
- Date: Mon, 6 Dec 2010 09:52:45 +0000 (UTC)
commit 7a80452de9204a53eea48cac37504944983340b5
Author: Adrien Bustany <abustany gnome org>
Date: Sun Sep 19 16:46:20 2010 +0200
VAPI files: add missing constructors to various classes
Recent git versions of vala will emit an error if there is no public
constructor declared.
src/libtracker-common/libtracker-common.vapi | 2 ++
src/libtracker-miner/tracker-miner.vapi | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/libtracker-common.vapi b/src/libtracker-common/libtracker-common.vapi
index c4bc3ac..eb546db 100644
--- a/src/libtracker-common/libtracker-common.vapi
+++ b/src/libtracker-common/libtracker-common.vapi
@@ -29,6 +29,8 @@ namespace Tracker {
[CCode (cheader_filename = "libtracker-common/tracker-common.h")]
public class ConfigFile : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public ConfigFile ();
[NoAccessorMethod]
public string domain { get; construct; }
public bool save ();
diff --git a/src/libtracker-miner/tracker-miner.vapi b/src/libtracker-miner/tracker-miner.vapi
index 4680e0d..f53c769 100644
--- a/src/libtracker-miner/tracker-miner.vapi
+++ b/src/libtracker-miner/tracker-miner.vapi
@@ -21,6 +21,8 @@
namespace Tracker {
[CCode (cheader_filename = "libtracker-miner/tracker-miner.h")]
public class Miner : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public Miner ();
[NoAccessorMethod]
public string name { get; construct; }
[NoAccessorMethod]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]