[gtk/wip/baedert/for-master: 40/66] headerbar: Avoid calling gtk_widget_destroy()
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 40/66] headerbar: Avoid calling gtk_widget_destroy()
- Date: Tue, 25 Feb 2020 09:52:01 +0000 (UTC)
commit f4202c50752b8ff03f45ae212486e57ca58fec40
Author: Timm Bäder <mail baedert org>
Date: Thu Feb 20 19:29:25 2020 +0100
headerbar: Avoid calling gtk_widget_destroy()
gtk/gtkheaderbar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 0c708ee851..945c3cf5a2 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -802,7 +802,7 @@ gtk_header_bar_dispose (GObject *object)
if (priv->label_sizing_box)
{
- gtk_widget_destroy (priv->label_sizing_box);
+ g_object_ref_sink (priv->label_sizing_box);
g_clear_object (&priv->label_sizing_box);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]