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




commit deec32fd5703f599655abcbb4903b5795040637b
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 5085defc..e33d749f 100644
--- a/doc/migrating-libhandy-1-4-to-libadwaita.md
+++ b/doc/migrating-libhandy-1-4-to-libadwaita.md
@@ -152,7 +152,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);
@@ -171,10 +171,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]