[grilo] test-ui: Print current media on cancelled metadata()
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] test-ui: Print current media on cancelled metadata()
- Date: Fri, 15 Apr 2011 07:53:05 +0000 (UTC)
commit 7bac5d92aa6e2bd8c679ffa79a9f76fe14864bc9
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Thu Apr 14 13:48:22 2011 +0000
test-ui: Print current media on cancelled metadata()
On metadata callback, if operation has been cancelled show anyway the current
media.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
tools/grilo-test-ui/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index 9620517..209c6fa 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -552,8 +552,8 @@ metadata_cb (GrlMediaSource *source,
GRL_DEBUG ("Operation cancelled");
} else {
g_critical ("Error: %s", error->message);
+ return;
}
- return;
}
if (media) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]