[gtkmm/gtkmm-3-24] Gtk::FileChooserNative: Don't derive a gtkmm__GtkFileChooserNative



commit bccbc2ad054097ad79a0ec0eee23a611bc3e79eb
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Thu Jun 9 09:24:30 2022 +0200

    Gtk::FileChooserNative: Don't derive a gtkmm__GtkFileChooserNative
    
    GtkFileChooserNative is declared G_DECLARE_FINAL_TYPE.

 gtk/src/filechoosernative.hg | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/src/filechoosernative.hg b/gtk/src/filechoosernative.hg
index a595f352..0bf3ed25 100644
--- a/gtk/src/filechoosernative.hg
+++ b/gtk/src/filechoosernative.hg
@@ -106,6 +106,8 @@ class GTKMM_API FileChooserNative : public NativeDialog, public FileChooser
 {
   _CLASS_GOBJECT(FileChooserNative, GtkFileChooserNative, GTK_FILE_CHOOSER_NATIVE, NativeDialog, 
GtkNativeDialog, , , GTKMM_API)
   _IMPLEMENTS_INTERFACE(FileChooser)
+  _DO_NOT_DERIVE_GTYPE dnl// GtkFileChooserNative 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]