[tracker/gdbus-evolution: 16/28] libtracker-sparql: Fix return type of ModuleInitFunc
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-evolution: 16/28] libtracker-sparql: Fix return type of ModuleInitFunc
- Date: Thu, 28 Oct 2010 08:30:31 +0000 (UTC)
commit 6771f838864715e047dc426a72ef6a9cfcca58f0
Author: Jürg Billeter <j bitron ch>
Date: Mon Oct 25 14:16:14 2010 +0200
libtracker-sparql: Fix return type of ModuleInitFunc
src/libtracker-bus/tracker-bus.vala | 2 +-
src/libtracker-sparql/tracker-backend.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index fad74ad..f7fb0ce 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -374,7 +374,7 @@ public class Tracker.Bus.Connection : Tracker.Sparql.Connection {
}
}
-public Tracker.Sparql.Connection module_init () {
+public Tracker.Sparql.Connection? module_init () {
try {
Tracker.Sparql.Connection plugin = new Tracker.Bus.Connection ();
return plugin;
diff --git a/src/libtracker-sparql/tracker-backend.vala b/src/libtracker-sparql/tracker-backend.vala
index d4b7df7..832d34b 100644
--- a/src/libtracker-sparql/tracker-backend.vala
+++ b/src/libtracker-sparql/tracker-backend.vala
@@ -35,7 +35,7 @@ class Tracker.Sparql.Backend : Connection {
BUS
}
- private delegate Tracker.Sparql.Connection ModuleInitFunc ();
+ private delegate Tracker.Sparql.Connection? ModuleInitFunc ();
public Backend (bool direct_only = false) throws Sparql.Error
requires (Module.supported ()) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]