[gtk/wip/matthiasc/popup4: 38/115] placesview: Adapt to new popover lifecycle
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 38/115] placesview: Adapt to new popover lifecycle
- Date: Wed, 24 Apr 2019 19:33:48 +0000 (UTC)
commit a2c14b178eb262f90a86dbfe8a6ebbd8059c4ce1
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 21 22:12:45 2019 -0400
placesview: Adapt to new popover lifecycle
We must unparent popovers in dispose now.
gtk/gtkplacesview.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index dabb486046..abfcb1278f 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -398,6 +398,8 @@ gtk_places_view_destroy (GtkWidget *widget)
g_cancellable_cancel (priv->cancellable);
g_cancellable_cancel (priv->networks_fetching_cancellable);
+ g_clear_pointer (&priv->server_adresses_popover, gtk_widget_unparent);
+
GTK_WIDGET_CLASS (gtk_places_view_parent_class)->destroy (widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]