[gtk/wip/otte/inscription: 3/4] gtk-demo: Use GtkInscription in the wordlist demo




commit 66b8230b8d0dbf0b33d3863055a22f4fd97b1aff
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jun 7 06:09:37 2022 +0200

    gtk-demo: Use GtkInscription in the wordlist demo

 demos/gtk-demo/listview_words.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/demos/gtk-demo/listview_words.c b/demos/gtk-demo/listview_words.c
index bee23dd562..bc4c9b8f66 100644
--- a/demos/gtk-demo/listview_words.c
+++ b/demos/gtk-demo/listview_words.c
@@ -17,10 +17,9 @@ const char *factory_text =
 "<interface>\n"
 "  <template class='GtkListItem'>\n"
 "    <property name='child'>\n"
-"      <object class='GtkLabel'>\n"
-"        <property name='ellipsize'>end</property>\n"
+"      <object class='GtkInscription'>\n"
 "        <property name='xalign'>0</property>\n"
-"        <binding name='label'>\n"
+"        <binding name='text'>\n"
 "          <lookup name='string' type='GtkStringObject'>\n"
 "            <lookup name='item'>GtkListItem</lookup>\n"
 "          </lookup>\n"


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