[iagno/gnome-3-18] Display a real error message when sound playback fails
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno/gnome-3-18] Display a real error message when sound playback fails
- Date: Mon, 12 Oct 2015 17:02:24 +0000 (UTC)
commit 596c6e7585d0442d9b69917f0c3bd7e564fca876
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]