Commit c8b5078e authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Jens Georg
Browse files

tracker: update_async throws GLib.Error

Solves the following build error:

make[4]: Entering directory '/home/elmarco/src/gnome/rygel/src/plugins/tracker'
VALAC    librygel_tracker_la_vala.stamp
rygel-tracker-selection-query.vala:90.24-90.50: warning: unhandled error `GLib.Error'
result = yield resources.query_async (str);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
rygel-tracker-cleanup-query.vala:49.15-49.42: warning: unhandled error `GLib.Error'
yield resources.update_async (str);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rygel-tracker-insertion-query.vala:129.27-129.60: warning: unhandled error `GLib.Error'
Variant v = yield resources.update_blank_async (str);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rygel-tracker-insertion-query.vala:144.32-145.71: warning: unhandled error `GLib.Error'
rygel-tracker-deletion-query.vala:48.15-48.42: warning: unhandled error `GLib.Error'
yield resources.update_async (str);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 0 error(s), 5 warning(s)
Makefile:1167: recipe for target 'librygel_tracker_la_vala.stamp' failed

https://bugzilla.gnome.org/show_bug.cgi?id=741913
parent da29ccef
......@@ -39,7 +39,8 @@ public class Rygel.Tracker.CleanupQuery : Query {
}
public override async void execute (Sparql.Connection resources)
throws IOError,
throws Error,
IOError,
Sparql.Error,
DBusError {
var str = this.to_string ();
......
......@@ -40,7 +40,10 @@ public class Rygel.Tracker.DeletionQuery : Query {
}
public override async void execute (Sparql.Connection resources)
throws IOError, Sparql.Error, DBusError {
throws Error,
IOError,
Sparql.Error,
DBusError {
var str = this.to_string ();
debug ("Executing SPARQL query: %s", str);
......
......@@ -119,7 +119,8 @@ public class Rygel.Tracker.InsertionQuery : Query {
}
public override async void execute (Sparql.Connection resources)
throws IOError,
throws Error,
IOError,
Sparql.Error,
DBusError {
var str = this.to_string ();
......
......@@ -37,7 +37,8 @@ public abstract class Rygel.Tracker.Query {
}
public abstract async void execute (Sparql.Connection resources)
throws IOError,
throws Error,
IOError,
Sparql.Error,
DBusError;
......
......@@ -80,7 +80,8 @@ public class Rygel.Tracker.SelectionQuery : Query {
}
public override async void execute (Sparql.Connection resources)
throws IOError,
throws Error,
IOError,
Sparql.Error,
DBusError {
var str = this.to_string ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment