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




commit 6af46de940e7c03a0d0b25c3822a3d784053da36
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]