summaryrefslogtreecommitdiff
path: root/src/plugins/tracker/rygel-tracker-insertion-query.vala
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2014-12-23 16:10:38 +0100
committerJens Georg <mail@jensge.org>2014-12-29 21:25:47 +0100
commitc8b5078ebd032920bcaf4aabf4e73fb96db6965d (patch)
tree65c107fef775b1bb98e54b65980dc75fa9a2a594 /src/plugins/tracker/rygel-tracker-insertion-query.vala
parentda29ccef397bb746c7bebe372edcc6d46a007f38 (diff)
downloadrygel-c8b5078ebd032920bcaf4aabf4e73fb96db6965d.tar.gz
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
Diffstat (limited to 'src/plugins/tracker/rygel-tracker-insertion-query.vala')
-rw-r--r--src/plugins/tracker/rygel-tracker-insertion-query.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/tracker/rygel-tracker-insertion-query.vala b/src/plugins/tracker/rygel-tracker-insertion-query.vala
index 564e24c9..a953ebe4 100644
--- a/src/plugins/tracker/rygel-tracker-insertion-query.vala
+++ b/src/plugins/tracker/rygel-tracker-insertion-query.vala
@@ -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 ();