[gtk/wip/matthiasc/popup5: 107/118] gizmo: Set the name



commit 82ff28c8a2d256ef64e1f4600788e28de8240456
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 4 18:10:44 2019 +0000

    gizmo: Set the name
    
    This helps with debugging.

 gtk/gtkgizmo.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkgizmo.c b/gtk/gtkgizmo.c
index a3ef5d1f23..f8c6f5c820 100644
--- a/gtk/gtkgizmo.c
+++ b/gtk/gtkgizmo.c
@@ -107,6 +107,7 @@ gtk_gizmo_new (const char              *css_name,
 {
   GtkGizmo *gizmo = GTK_GIZMO (g_object_new (GTK_TYPE_GIZMO,
                                              "css-name", css_name,
+                                             "name", css_name,
                                              NULL));
 
   gizmo->measure_func  = measure_func;


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