[gtk/wip/baedert/for-master: 23/36] 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: 23/36] headerbar: Avoid calling gtk_widget_destroy()
- Date: Sat, 22 Feb 2020 07:31:42 +0000 (UTC)
commit 8cb2bca22c39ad9caef344806405bbcd85862cbb
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]