[gtk/wip/baedert/for-master: 87/97] 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: 87/97] headerbar: Avoid calling gtk_widget_destroy()
- Date: Fri, 21 Feb 2020 12:22:42 +0000 (UTC)
commit e841f5cda19be5149e5f1d9aee479e5e22a9b369
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]