[rhythmbox] task-list-display: remove items that have been removed
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] task-list-display: remove items that have been removed
- Date: Tue, 1 Oct 2013 12:47:21 +0000 (UTC)
commit 51db199252f44b4b07188c3d46407a06c135e750
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Oct 1 22:46:10 2013 +1000
task-list-display: remove items that have been removed
https://bugzilla.gnome.org/show_bug.cgi?id=708341
widgets/rb-task-list-display.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/widgets/rb-task-list-display.c b/widgets/rb-task-list-display.c
index 544c537..465b43c 100644
--- a/widgets/rb-task-list-display.c
+++ b/widgets/rb-task-list-display.c
@@ -90,6 +90,7 @@ task_list_changed_cb (RBListModel *model, int position, int removed, int added,
w = g_array_index (list->priv->widgets, GtkWidget *, position);
gtk_container_remove (GTK_CONTAINER (list), w);
+ g_array_remove_index (list->priv->widgets, position);
}
for (i = 0; i < added; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]