[gtk/pango2] fixup clear_template



commit a13cfde2a93c8b93a9f8e946914b73fefd819cb1
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jul 5 20:43:31 2022 -0400

    fixup clear_template

 gtk/gtkwidget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b1ae71158d..28f9c5736f 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11018,7 +11018,7 @@ gtk_widget_clear_template (GtkWidget *widget,
   GtkWidgetTemplate *template = GTK_WIDGET_GET_CLASS (widget)->priv->template;
   g_return_if_fail (template != NULL);
 
-  g_clear_object (&template->scope);
+  //g_clear_object (&template->scope);
 
   /* Tear down the automatic child data */
   GHashTable *auto_child_hash = get_auto_child_hash (widget, widget_type, FALSE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]