[gtk/wip/baedert/for-master: 63/86] 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: 63/86] headerbar: Avoid calling gtk_widget_destroy()
- Date: Sun, 23 Feb 2020 11:24:55 +0000 (UTC)
commit ea869af3a566140ec94ee08136b5b822468f9b97
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]