[iagno] Display a real error message when sound playback fails
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Display a real error message when sound playback fails
- Date: Sat, 10 Oct 2015 15:38:52 +0000 (UTC)
commit 1c9c2a8ff857c7b8a2b03ed5e2c60d6489c4087c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 10 10:38:25 2015 -0500
Display a real error message when sound playback fails
https://bugzilla.redhat.com/show_bug.cgi?id=1270488
src/iagno.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index abc69d2..592c111 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -483,6 +483,6 @@ public class Iagno : Gtk.Application
Canberra.PROP_MEDIA_NAME, name,
Canberra.PROP_MEDIA_FILENAME, path);
if (r != 0)
- warning ("Error playing file: %s\nfilepath should be:%s\n", name, path);
+ warning ("Error playing %s: %s\n", path, Canberra.strerror (r));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]