[grilo] test-ui: Don't remove items from the view when remove fails
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] test-ui: Don't remove items from the view when remove fails
- Date: Fri, 30 May 2014 14:48:23 +0000 (UTC)
commit 37e40deab108bffc58c80627ff9f76ef2b73b7cb
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 13 00:51:26 2014 +0200
test-ui: Don't remove items from the view when remove fails
https://bugzilla.gnome.org/show_bug.cgi?id=724308
tools/grilo-test-ui/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index 72d82d9..778d147 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -1255,9 +1255,8 @@ remove_cb (GrlSource *source,
GRL_WARNING ("Error removing media: %s", error->message);
} else {
GRL_DEBUG ("Media removed");
+ remove_item_from_view (source, media);
}
-
- remove_item_from_view (source, media);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]