[gedit/gnome-3-30] file-browser: fix assert when going up in the tree
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-30] file-browser: fix assert when going up in the tree
- Date: Mon, 26 Nov 2018 18:34:55 +0000 (UTC)
commit ea7999b7b59dbc05570485561ecab2a6334a220e
Author: Sebastien Lafargue <slafargue gnome org>
Date: Mon Nov 26 19:29:53 2018 +0100
file-browser: fix assert when going up in the tree
plugins/filebrowser/gedit-file-browser-store.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-store.c b/plugins/filebrowser/gedit-file-browser-store.c
index 08baeb593..915941e71 100644
--- a/plugins/filebrowser/gedit-file-browser-store.c
+++ b/plugins/filebrowser/gedit-file-browser-store.c
@@ -1263,7 +1263,7 @@ row_deleted (GeditFileBrowserStore *model,
GtkTreePath *copy;
/* We should always be called when the row is still inserted */
- g_return_if_fail (node->inserted == TRUE);
+ g_return_if_fail (node->inserted == TRUE || NODE_IS_DUMMY (node));
hidden = FILE_IS_HIDDEN (node->flags);
node->flags &= ~GEDIT_FILE_BROWSER_STORE_FLAG_IS_HIDDEN;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]