[gtk+] inspector: Actually destroy the property editors
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Actually destroy the property editors
- Date: Thu, 5 Jun 2014 09:58:10 +0000 (UTC)
commit 582504cc335a9805816b463a4038031b4024073f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 5 05:56:47 2014 -0400
inspector: Actually destroy the property editors
We were never finalizing any of the popovers used for editing
properties. Fix that.
gtk/inspector/prop-list.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index 9d3b8d8..4a1c034 100644
--- a/gtk/inspector/prop-list.c
+++ b/gtk/inspector/prop-list.c
@@ -180,6 +180,8 @@ row_activated (GtkTreeView *tv,
gtk_widget_show (popover);
+ g_signal_connect (popover, "hide", G_CALLBACK (gtk_widget_destroy), NULL);
+
g_free (name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]