[gnome-builder] project-tree: hide popover before destroying
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] project-tree: hide popover before destroying
- Date: Sat, 11 Apr 2015 09:00:11 +0000 (UTC)
commit 1950e8f24ebd3da2a64d337612ccb66e533cc09f
Author: Christian Hergert <christian hergert me>
Date: Sat Apr 11 01:59:50 2015 -0700
project-tree: hide popover before destroying
Apparently the window will still perform size requests unless the
widget is hidden first. Bug filed.
src/project-tree/gb-project-tree-actions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/project-tree/gb-project-tree-actions.c b/src/project-tree/gb-project-tree-actions.c
index 8821e6c..ef4decd 100644
--- a/src/project-tree/gb-project-tree-actions.c
+++ b/src/project-tree/gb-project-tree-actions.c
@@ -305,6 +305,7 @@ gb_project_tree_actions__popover_create_file_cb (GbProjectTree *self,
self->expanded_in_new = FALSE;
+ gtk_widget_hide (GTK_WIDGET (popover));
gtk_widget_destroy (GTK_WIDGET (popover));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]