[vala/staging] gtk+-*.0: Hide dedicated constructor for GtkBorder which is bound as struct
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gtk+-*.0: Hide dedicated constructor for GtkBorder which is bound as struct
- Date: Tue, 27 Mar 2018 16:59:01 +0000 (UTC)
commit c7b09d1b7efc068b79b0337f82edca58b1653ffb
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Mar 27 18:49:18 2018 +0200
gtk+-*.0: Hide dedicated constructor for GtkBorder which is bound as struct
https://bugzilla.gnome.org/show_bug.cgi?id=794733
vapi/gtk+-3.0.vapi | 3 ---
vapi/gtk+-4.0.vapi | 2 --
vapi/metadata/Gtk-3.0.metadata | 3 +++
vapi/metadata/Gtk-4.0.metadata | 3 +++
4 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 2a20fc1..b12d12d 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -10875,9 +10875,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 ();
}
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 0c1e6ab..620ab66 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -12284,8 +12284,6 @@ namespace Gtk {
public int16 right;
public int16 top;
public int16 bottom;
- [CCode (has_construct_function = false, type = "GtkBorder*")]
- public Border ();
public Gtk.Border? copy ();
public void free ();
}
diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata
index 995eb17..f7fb398 100644
--- a/vapi/metadata/Gtk-3.0.metadata
+++ b/vapi/metadata/Gtk-3.0.metadata
@@ -426,6 +426,9 @@ ActionGroup
.add_*_actions* skip=false
.add_radio_actions.on_change type="Gtk.RadioActionCallback"
.add_radio_actions_full.on_change type="owned Gtk.RadioActionCallback"
+Border
+ // hide dedicated constructor, it is a struct in vala
+ .new skip
Button
.new_from_icon_name.size type="Gtk.IconSize"
Clipboard
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index d305921..b1ac40d 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -260,6 +260,9 @@ TreeModel
// Backwards compatibility
AccelGroup
.find type="Gtk.AccelKey*"
+Border
+ // hide dedicated constructor, it is a struct in vala
+ .new skip
CssProvider
.load_from_data name="load_from_buffer"
EntryBuffer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]