]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Hide the creation method of Requisition
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 20 Jul 2011 11:11:56 +0000 (13:11 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 20 Jul 2011 11:11:56 +0000 (13:11 +0200)
The method gtk_requisition_new is provided to help bindings of high-level
languages, but it isn't needed for vala.

Fixes bug 642298.

vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index da62541f698010339a7ef1488d0c8616f8851b84..70d30c765bd10c796cb3b60a137c3a4f11370263 100644 (file)
@@ -6194,8 +6194,6 @@ namespace Gtk {
        public struct Requisition {
                public int width;
                public int height;
-               [CCode (cname = "gtk_requisition_new", has_construct_function = false)]
-               public Requisition ();
                public Gtk.Requisition copy ();
                public void free ();
        }
index 7699fb362a86c7cf83b4a317c3b634db092486a3..30c743aa17750ddf87bce9ad111b62e2716a7412 100644 (file)
@@ -544,6 +544,7 @@ gtk_recent_filter_add_custom.func transfer_ownership="1"
 gtk_recent_filter_add_custom.data hidden="1"
 gtk_recent_filter_add_custom.data_destroy hidden="1"
 GtkRequisition is_value_type="1"
+gtk_requisition_new hidden="1"
 gtk_rc_get_style_by_paths nullable="1"
 gtk_rc_get_style_by_paths.widget_path nullable="1"
 gtk_rc_get_style_by_paths.class_path nullable="1"