projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ec0af
)
core: Also catch DBus errors on Queue call
author
Jens Georg
<mail@jensge.org>
Thu, 22 Sep 2011 16:50:09 +0000
(18:50 +0200)
committer
Jens Georg
<mail@jensge.org>
Thu, 22 Sep 2011 16:59:31 +0000
(18:59 +0200)
src/rygel/rygel-dbus-thumbnailer.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-dbus-thumbnailer.vala
b/src/rygel/rygel-dbus-thumbnailer.vala
index
ec289d3
..
6ee2d4a
100644
(file)
--- a/
src/rygel/rygel-dbus-thumbnailer.vala
+++ b/
src/rygel/rygel-dbus-thumbnailer.vala
@@
-24,7
+24,9
@@
interface Tumbler : GLib.Object {
string[] mime_types,
string flavor,
string sheduler,
- uint handle) throws GLib.IOError;
+ uint handle)
+ throws GLib.IOError,
+ GLib.DBusError;
public signal void Finished (uint handle);
public signal void Error (uint handle,
@@
-102,7
+104,9
@@
internal class Rygel.DbusThumbnailer : GLib.Object {
try {
yield this.tumbler.Queue (uris, mimes, flavor, "default", 0);
- } catch (GLib.IOError e) {}
+ } catch (Error error) {
+ this.available = false;
+ }
}
public bool in_progress () {