[libadwaita/wip/exalm/value-objects: 202/203] doc: Mention AdwEnumListItem changes in the migration guide




commit 7e9a1f52c9e6d3e0d01f8b77e4e77d9265ea3338
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Aug 31 14:15:09 2021 +0500

    doc: Mention AdwEnumListItem changes in the migration guide

 doc/migrating-libhandy-1-4-to-libadwaita.md | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/doc/migrating-libhandy-1-4-to-libadwaita.md b/doc/migrating-libhandy-1-4-to-libadwaita.md
index 75cc4bd2..982727f1 100644
--- a/doc/migrating-libhandy-1-4-to-libadwaita.md
+++ b/doc/migrating-libhandy-1-4-to-libadwaita.md
@@ -151,7 +151,7 @@ in conjunction with the [property@Adw.ComboRow:expression] property, for
 example:
 
 ```c
-expr = gtk_property_expression_new (ADW_TYPE_ENUM_VALUE_OBJECT, NULL, "nick");
+expr = gtk_property_expression_new (ADW_TYPE_ENUM_LIST_ITEM, NULL, "nick");
 model = G_LIST_MODEL (adw_enum_list_model_new (GTK_TYPE_ORIENTATION));
 
 adw_combo_row_set_expression (row, expr);
@@ -170,10 +170,11 @@ The `HdyComboRow:selected-index` property has been renamed to
 `HdyPreferencesGroup:use-markup` has been removed, the labels always use markup
 now.
 
-### Stop Creating `HdyEnumValueObject` Instances
+### Adapt to `HdyEnumValueObject` API Changes
 
-[class@Adw.EnumValueObject] can no longer be manually created and is only
-intended to be used with [class@Adw.EnumListModel].
+`HdyEnumValueObject` has been renamed to [class@Adw.EnumListItem] and can no
+longer be manually created. It's only intended to be used with
+[class@Adw.EnumListModel].
 
 ### Stop Using `HdyValueObject`
 


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