aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-11 16:27:45 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-11 16:27:45 +0200
commit32fe1831aa5f50a0f0250270027a378d089c3250 (patch)
treedb7b251dec4f7fcc51f1d6c69a9fdfae13b8fd4a
parent1d6bec72e636899ff2d71e5a9dad6e06cc9908a6 (diff)
downloadgtk-vlc-player-32fe1831aa5f50a0f0250270027a378d089c3250.tar.gz
include filename in GError describing an error while opening the file
-rw-r--r--lib/gtk-experiment-widgets/gtk-experiment-transcript-formats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gtk-experiment-widgets/gtk-experiment-transcript-formats.c b/lib/gtk-experiment-widgets/gtk-experiment-transcript-formats.c
index ba9de6c..3604e3c 100644
--- a/lib/gtk-experiment-widgets/gtk-experiment-transcript-formats.c
+++ b/lib/gtk-experiment-widgets/gtk-experiment-transcript-formats.c
@@ -216,8 +216,8 @@ gtk_experiment_transcript_load_formats(GtkExperimentTranscript *trans,
g_set_error(error,
GTK_EXPERIMENT_TRANSCRIPT_ERROR,
GTK_EXPERIMENT_TRANSCRIPT_ERROR_FILEOPEN,
- "Failed to open format file:\n%s",
- g_strerror(errno));
+ "Failed to open format file \"%s\":\n%s",
+ filename, g_strerror(errno));
goto redraw;
}