[glibmm] Gio::ListStore: Don't derive a gtkmm__GListStore GType



commit 5cfbe92b11795ec4c235626e3c606de89c556f0f
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Wed Jun 8 18:34:33 2022 +0200

    Gio::ListStore: Don't derive a gtkmm__GListStore GType
    
    GListStore is declared G_DECLARE_FINAL_TYPE.

 gio/src/liststore.hg | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gio/src/liststore.hg b/gio/src/liststore.hg
index c62a1995..dbe225db 100644
--- a/gio/src/liststore.hg
+++ b/gio/src/liststore.hg
@@ -40,6 +40,8 @@ class GIOMM_API ListStoreBase
 {
   _CLASS_GOBJECT(ListStoreBase, GListStore, G_LIST_STORE, Glib::Object, GObject, , , GIOMM_API)
   _IMPLEMENTS_INTERFACE(ListModel)
+  _DO_NOT_DERIVE_GTYPE dnl// GListStore is a final type
+  _ABI_AS_WITH_DERIVED_GTYPE dnl// Remove when we can break ABI
   _STRUCT_NOT_HIDDEN
 
 protected:


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