[gnome-builder/wip/gtk4-port: 582/736] libide/gui: cleanup search popover
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 582/736] libide/gui: cleanup search popover
- Date: Tue, 26 Apr 2022 01:46:31 +0000 (UTC)
commit 00b36eacafa70c23735eef8848052817c945f85e
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 13 11:38:02 2022 -0700
libide/gui: cleanup search popover
src/libide/gui/ide-workspace.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/gui/ide-workspace.c b/src/libide/gui/ide-workspace.c
index ef4aa12fd..7470c271f 100644
--- a/src/libide/gui/ide-workspace.c
+++ b/src/libide/gui/ide-workspace.c
@@ -462,6 +462,8 @@ ide_workspace_dispose (GObject *object)
g_assert (IDE_IS_WORKSPACE (self));
+ g_clear_pointer ((GtkWidget **)&priv->search_popover, gtk_widget_unparent);
+
g_clear_weak_pointer (&priv->current_page_ptr);
/* Unload addins immediately */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]