[vala/0.36: 204/212] gtk+-4.0: Hide dedicated constructors of compact classes bound as structs



commit 47192981558c70e8735b563a195305231273afe1
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Mar 27 18:49:18 2018 +0200

    gtk+-4.0: Hide dedicated constructors of compact classes bound as structs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794733

 vapi/gtk+-4.0.vapi             |    6 ------
 vapi/metadata/Gtk-4.0.metadata |    6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 3e9dce1..9b2c8f5 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -15486,9 +15486,6 @@ namespace Gtk {
                public int16 right;
                public int16 top;
                public int16 bottom;
-               [CCode (has_construct_function = false, type = "GtkBorder*")]
-               [Version (since = "2.14")]
-               public Border ();
                public Gtk.Border? copy ();
                public void free ();
        }
@@ -15546,9 +15543,6 @@ namespace Gtk {
        public struct Requisition {
                public int width;
                public int height;
-               [CCode (has_construct_function = false, type = "GtkRequisition*")]
-               [Version (since = "3.0")]
-               public Requisition ();
                public Gtk.Requisition? copy ();
                public void free ();
        }
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index f937699..5786da0 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -21,6 +21,12 @@ TargetEntry struct
 TextIter struct
 TreeIter struct
 
+// Hide dedicated constructors of former compact classes
+Border
+  .new skip
+Requisition
+  .new skip
+
 // Bug #636812: no support for annotating the type of a closure
 AccelGroup
   .connect*.closure type="owned Gtk.AccelGroupActivate"


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