[vala/staging: 4/7] gtk+-2.0, gtk+-3.0: Hide non-public symbols



commit f3272c42502d23a7fe67641cbb30812bf0cad6dc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Aug 21 10:35:01 2014 +0200

    gtk+-2.0, gtk+-3.0: Hide non-public symbols

 vapi/gtk+-2.0.vapi                       |   22 ----------
 vapi/gtk+-3.0.vapi                       |   68 ------------------------------
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    6 ++-
 4 files changed, 7 insertions(+), 91 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index a77de08..c9f4f58 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -3542,14 +3542,6 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
                public bool get_show_numbers ();
-               [NoWrapper]
-               public virtual void gtk_recent1 ();
-               [NoWrapper]
-               public virtual void gtk_recent2 ();
-               [NoWrapper]
-               public virtual void gtk_recent3 ();
-               [NoWrapper]
-               public virtual void gtk_recent4 ();
                public void set_show_numbers (bool show_numbers);
                public bool show_numbers { get; set; }
        }
@@ -6449,20 +6441,6 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public struct TextIter {
-               public void* dummy1;
-               public void* dummy2;
-               public int dummy3;
-               public int dummy4;
-               public int dummy5;
-               public int dummy6;
-               public int dummy7;
-               public int dummy8;
-               public void* dummy9;
-               public void* dummy10;
-               public int dummy11;
-               public int dummy12;
-               public int dummy13;
-               public void* dummy14;
                public bool backward_char ();
                public bool backward_chars (int count);
                public bool backward_cursor_position ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index a561e28..c43e601 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1736,7 +1736,6 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_drawing_area_get_type ()")]
        public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
-               public void* dummy;
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public DrawingArea ();
        }
@@ -3186,22 +3185,6 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public LockButton (GLib.Permission permission);
                public unowned GLib.Permission get_permission ();
-               [NoWrapper]
-               public virtual void reserved0 ();
-               [NoWrapper]
-               public virtual void reserved1 ();
-               [NoWrapper]
-               public virtual void reserved2 ();
-               [NoWrapper]
-               public virtual void reserved3 ();
-               [NoWrapper]
-               public virtual void reserved4 ();
-               [NoWrapper]
-               public virtual void reserved5 ();
-               [NoWrapper]
-               public virtual void reserved6 ();
-               [NoWrapper]
-               public virtual void reserved7 ();
                public void set_permission (GLib.Permission permission);
                public GLib.Permission permission { get; set; }
                [NoAccessorMethod]
@@ -4148,14 +4131,6 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public RecentChooserMenu.for_manager (Gtk.RecentManager manager);
                public bool get_show_numbers ();
-               [NoWrapper]
-               public virtual void gtk_recent1 ();
-               [NoWrapper]
-               public virtual void gtk_recent2 ();
-               [NoWrapper]
-               public virtual void gtk_recent3 ();
-               [NoWrapper]
-               public virtual void gtk_recent4 ();
                public void set_show_numbers (bool show_numbers);
                public bool show_numbers { get; set; }
        }
@@ -5089,35 +5064,6 @@ namespace Gtk {
                [NoAccessorMethod]
                public uint row_spacing { get; set; }
        }
-       [CCode (cheader_filename = "gtk/gtk.h")]
-       [Compact]
-       public class TableChild {
-               public uint16 bottom_attach;
-               public uint16 left_attach;
-               public uint16 right_attach;
-               public uint16 top_attach;
-               public weak Gtk.Widget widget;
-               public uint xexpand;
-               public uint xfill;
-               public uint16 xpadding;
-               public uint xshrink;
-               public uint yexpand;
-               public uint yfill;
-               public uint16 ypadding;
-               public uint yshrink;
-       }
-       [CCode (cheader_filename = "gtk/gtk.h")]
-       [Compact]
-       public class TableRowCol {
-               public uint16 allocation;
-               public uint empty;
-               public uint expand;
-               public uint need_expand;
-               public uint need_shrink;
-               public uint16 requisition;
-               public uint shrink;
-               public uint16 spacing;
-       }
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_target_list_ref", type_id = 
"gtk_target_list_get_type ()", unref_function = "gtk_target_list_unref")]
        [Compact]
        public class TargetList {
@@ -7470,20 +7416,6 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public struct TextIter {
-               public void* dummy1;
-               public void* dummy2;
-               public int dummy3;
-               public int dummy4;
-               public int dummy5;
-               public int dummy6;
-               public int dummy7;
-               public int dummy8;
-               public void* dummy9;
-               public void* dummy10;
-               public int dummy11;
-               public int dummy12;
-               public int dummy13;
-               public void* dummy14;
                public void assign (Gtk.TextIter other);
                public bool backward_char ();
                public bool backward_chars (int count);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index df634f7..839807b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -1147,3 +1147,5 @@ GtkIconThemeError errordomain="1"
 GtkRecentChooserError errordomain="1"
 GtkRecentManagerError errordomain="1"
 
+*.dummy* hidden="1"
+*_gtk_recent* hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index fb7a941..3ee3690 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -989,6 +989,8 @@ gtk_symbolic_color_to_string transfer_ownership="1"
 gtk_table_get_size.rows is_out="1"
 gtk_table_get_size.columns is_out="1"
 GtkTable:row-spacing accessor_method="0"
+GtkTableChild hidden="1"
+GtkTableRowCol hidden="1"
 GtkTargetEntry is_value_type="1"
 GtkTargetList.list type_arguments="TargetPair"
 gtk_target_list_add_table.targets is_array="1"
@@ -1840,4 +1842,6 @@ GtkWindow type_id="gtk_window_get_type ()"
 GtkWindowAccessible type_id="gtk_window_accessible_get_type ()"
 GtkWindowGroup type_id="gtk_window_group_get_type ()"
 
-*._g_sealed__* hidden="1"
+*.dummy* hidden="1"
+*_reserved* hidden="1"
+*_gtk_recent* hidden="1"


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