[anjuta] quick-open: remove doc from list in quick_open_dialog_remove_document()
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] quick-open: remove doc from list in quick_open_dialog_remove_document()
- Date: Fri, 1 Feb 2013 09:43:09 +0000 (UTC)
commit 57186df98f6612e51219f3a9cfdae9dca0759d0e
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Fri Feb 1 10:27:52 2013 +0100
quick-open: remove doc from list in quick_open_dialog_remove_document()
plugins/quick-open/quick-open-dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/quick-open/quick-open-dialog.c b/plugins/quick-open/quick-open-dialog.c
index 0740d83..52165ad 100644
--- a/plugins/quick-open/quick-open-dialog.c
+++ b/plugins/quick-open/quick-open-dialog.c
@@ -674,6 +674,8 @@ quick_open_dialog_remove_document(QuickOpenDialog* self, IAnjutaDocument* docume
if (!IANJUTA_IS_FILE(document))
return;
+ priv->documents = g_slist_remove (priv->documents, document);
+
file = ianjuta_file_get_file(IANJUTA_FILE(document), NULL);
if (file)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]