[gtk/parse-pango-types: 2/2] Replace some uses of custom buildables




commit 61f7ac09bc9694346523a5c2a757b7e5d5dfb891
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 18 12:49:01 2022 -0500

    Replace some uses of custom buildables
    
    Use string syntax instead of <attributes>
    for PangoAttrList in a few places.

 demos/gtk-demo/font-features.ui | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/demos/gtk-demo/font-features.ui b/demos/gtk-demo/font-features.ui
index 340fecfdcb..e31559a28b 100644
--- a/demos/gtk-demo/font-features.ui
+++ b/demos/gtk-demo/font-features.ui
@@ -45,9 +45,7 @@
                           <object class="GtkLabel">
                             <property name="xalign">0</property>
                             <property name="label" translatable="yes">Font Features</property>
-                            <attributes>
-                              <attribute name="weight" value="bold"></attribute>
-                            </attributes>
+                            <property name="attributes" translatable="yes">0 -1 weight bold</property>
                           </object>
                         </child>
                         <child>
@@ -75,9 +73,7 @@
                           <object class="GtkLabel" id="variations_heading">
                             <property name="label" translatable="yes">Font Variations</property>
                             <property name="xalign">0</property>
-                            <attributes>
-                              <attribute name="weight" value="bold"></attribute>
-                            </attributes>
+                            <property name="attributes" translatable="yes">0 -1 weight bold</property>
                           </object>
                         </child>
                         <child>


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