From fe6ec134900cc4b3a77626c30e0bc839a3af3b14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sat, 11 Oct 2008 11:11:29 +0000 Subject: [PATCH] Regenerated MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-10-11 Jürg Billeter * vapi/atk.vapi: * vapi/gdk-2.0.vapi: * vapi/gdk-pixbuf-2.0.vapi: * vapi/gio-2.0.vapi: * vapi/gio-unix-2.0.vapi: * vapi/gstreamer-0.10.vapi: * vapi/gstreamer-audio-0.10.vapi: * vapi/gstreamer-base-0.10.vapi: * vapi/gstreamer-controller-0.10.vapi: * vapi/gstreamer-dataprotocol-0.10.vapi: * vapi/gstreamer-fft-0.10.vapi: * vapi/gstreamer-net-0.10.vapi: * vapi/gstreamer-netbuffer-0.10.vapi: * vapi/gstreamer-pbutils-0.10.vapi: * vapi/gstreamer-riff-0.10.vapi: * vapi/gstreamer-rtp-0.10.vapi: * vapi/gstreamer-sdp-0.10.vapi: * vapi/gtk+-2.0.vapi: * vapi/pango.vapi: Regenerated svn path=/trunk/; revision=1831 --- ChangeLog | 24 ++ vapi/atk.vapi | 5 + vapi/gdk-2.0.vapi | 26 ++- vapi/gdk-pixbuf-2.0.vapi | 17 +- vapi/gio-2.0.vapi | 35 ++- vapi/gio-unix-2.0.vapi | 5 + vapi/gstreamer-0.10.vapi | 81 ++++++- vapi/gstreamer-audio-0.10.vapi | 9 +- vapi/gstreamer-base-0.10.vapi | 7 +- vapi/gstreamer-controller-0.10.vapi | 5 + vapi/gstreamer-dataprotocol-0.10.vapi | 1 + vapi/gstreamer-fft-0.10.vapi | 4 + vapi/gstreamer-net-0.10.vapi | 3 + vapi/gstreamer-netbuffer-0.10.vapi | 2 +- vapi/gstreamer-pbutils-0.10.vapi | 3 +- vapi/gstreamer-riff-0.10.vapi | 30 +-- vapi/gstreamer-rtp-0.10.vapi | 176 +++++++-------- vapi/gstreamer-sdp-0.10.vapi | 2 + vapi/gtk+-2.0.vapi | 403 +++++++++++++++++++--------------- vapi/pango.vapi | 14 ++ 20 files changed, 540 insertions(+), 312 deletions(-) diff --git a/ChangeLog b/ChangeLog index cdceb55..09b03c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,29 @@ 2008-10-11 Jürg Billeter + * vapi/atk.vapi: + * vapi/gdk-2.0.vapi: + * vapi/gdk-pixbuf-2.0.vapi: + * vapi/gio-2.0.vapi: + * vapi/gio-unix-2.0.vapi: + * vapi/gstreamer-0.10.vapi: + * vapi/gstreamer-audio-0.10.vapi: + * vapi/gstreamer-base-0.10.vapi: + * vapi/gstreamer-controller-0.10.vapi: + * vapi/gstreamer-dataprotocol-0.10.vapi: + * vapi/gstreamer-fft-0.10.vapi: + * vapi/gstreamer-net-0.10.vapi: + * vapi/gstreamer-netbuffer-0.10.vapi: + * vapi/gstreamer-pbutils-0.10.vapi: + * vapi/gstreamer-riff-0.10.vapi: + * vapi/gstreamer-rtp-0.10.vapi: + * vapi/gstreamer-sdp-0.10.vapi: + * vapi/gtk+-2.0.vapi: + * vapi/pango.vapi: + + Regenerated + +2008-10-11 Jürg Billeter + * vala/valainterfacewriter.vala: * vala/valamethod.vala: * gobject/valaccodemethodbinding.vala: diff --git a/vapi/atk.vapi b/vapi/atk.vapi index 9fdd017..95afcfd 100644 --- a/vapi/atk.vapi +++ b/vapi/atk.vapi @@ -318,10 +318,12 @@ namespace Atk { } [CCode (cheader_filename = "atk/atk.h")] public class NoOpObject : Atk.Object, Atk.Text, Atk.Action, Atk.Hypertext, Atk.Selection, Atk.Table, Atk.Image, Atk.Value, Atk.Component, Atk.EditableText, Atk.Document { + [CCode (type = "AtkObject*", has_construct_function = false)] public NoOpObject (GLib.Object obj); } [CCode (cheader_filename = "atk/atk.h")] public class NoOpObjectFactory : Atk.ObjectFactory { + [CCode (type = "AtkObjectFactory*", has_construct_function = false)] public NoOpObjectFactory (); } [CCode (cheader_filename = "atk/atk.h")] @@ -414,6 +416,7 @@ namespace Atk { public void add_target (Atk.Object target); public Atk.RelationType get_relation_type (); public weak GLib.PtrArray get_target (); + [CCode (has_construct_function = false)] public Relation (Atk.Object[] targets, Atk.RelationType relationship); public static Atk.RelationType type_for_name (string name); public static weak string type_get_name (Atk.RelationType type); @@ -432,6 +435,7 @@ namespace Atk { public int get_n_relations (); public weak Atk.Relation get_relation (int i); public weak Atk.Relation get_relation_by_type (Atk.RelationType relationship); + [CCode (has_construct_function = false)] public RelationSet (); public void remove (Atk.Relation relation); } @@ -444,6 +448,7 @@ namespace Atk { public bool contains_state (Atk.StateType type); public bool contains_states (Atk.StateType[] types); public bool is_empty (); + [CCode (has_construct_function = false)] public StateSet (); public weak Atk.StateSet or_sets (Atk.StateSet compare_set); public bool remove_state (Atk.StateType type); diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi index 4c7bccb..a2bd866 100644 --- a/vapi/gdk-2.0.vapi +++ b/vapi/gdk-2.0.vapi @@ -558,6 +558,7 @@ namespace Gdk { public void get_clipbox (out Gdk.Rectangle rectangle); public void get_rectangles (Gdk.Rectangle[] rectangles); public void intersect (Gdk.Region source2); + [CCode (has_construct_function = false)] public Region (); public void offset (int dx, int dy); public bool point_in (int x, int y); @@ -578,10 +579,15 @@ namespace Gdk { public uint ref_count; public weak Gdk.Display get_display (); public weak Gdk.Pixbuf get_image (); + [CCode (has_construct_function = false)] public Cursor (Gdk.CursorType cursor_type); + [CCode (has_construct_function = false)] public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type); + [CCode (has_construct_function = false)] public Cursor.from_name (Gdk.Display display, string name); + [CCode (has_construct_function = false)] public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y); + [CCode (has_construct_function = false)] public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y); } [Compact] @@ -597,6 +603,7 @@ namespace Gdk { } [CCode (cheader_filename = "gdk/gdk.h")] public class AppLaunchContext : GLib.AppLaunchContext { + [CCode (has_construct_function = false)] public AppLaunchContext (); public void set_desktop (int desktop); public void set_display (Gdk.Display display); @@ -618,6 +625,7 @@ namespace Gdk { public weak Gdk.Screen get_screen (); public static weak Gdk.Colormap get_system (); public weak Gdk.Visual get_visual (); + [CCode (has_construct_function = false)] public Colormap (Gdk.Visual visual, bool allocate); public void query_color (ulong pixel, out Gdk.Color _result); } @@ -724,6 +732,7 @@ namespace Gdk { public Gdk.DragAction action; public uint start_time; public void* windowing_data; + [CCode (has_construct_function = false)] public DragContext (); } [CCode (cheader_filename = "gdk/gdk.h")] @@ -784,7 +793,9 @@ namespace Gdk { public void copy (Gdk.GC src_gc); public weak Gdk.Colormap get_colormap (); public weak Gdk.Screen get_screen (); + [CCode (has_construct_function = false)] public GC (Gdk.Drawable drawable); + [CCode (has_construct_function = false)] public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask); public void offset (int x_offset, int y_offset); public void set_background (Gdk.Color color); @@ -824,6 +835,7 @@ namespace Gdk { public void* windowing_data; public weak Gdk.Colormap get_colormap (); public uint get_pixel (int x, int y); + [CCode (has_construct_function = false)] public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height); public void put_pixel (int x, int y, uint pixel); public void set_colormap (Gdk.Colormap colormap); @@ -845,7 +857,7 @@ namespace Gdk { [CCode (cheader_filename = "gdk/gdk.h")] public class PangoRenderer : Pango.Renderer { public static weak Pango.Renderer get_default (Gdk.Screen screen); - [CCode (type = "PangoRenderer*")] + [CCode (type = "PangoRenderer*", has_construct_function = false)] public PangoRenderer (Gdk.Screen screen); public void set_drawable (Gdk.Drawable drawable); public void set_gc (Gdk.GC gc); @@ -866,6 +878,7 @@ namespace Gdk { public static weak Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, Gdk.NativeWindow anid, int width, int height, int depth); public static weak Gdk.Pixmap lookup (Gdk.NativeWindow anid); public static weak Gdk.Pixmap lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid); + [CCode (has_construct_function = false)] public Pixmap (Gdk.Drawable drawable, int width, int height, int depth); } [CCode (cheader_filename = "gdk/gdk.h")] @@ -1007,6 +1020,7 @@ namespace Gdk { public void move (int x, int y); public void move_region (Gdk.Region region, int dx, int dy); public void move_resize (int x, int y, int width, int height); + [CCode (has_construct_function = false)] public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask); public weak GLib.List peek_children (); public static void process_all_updates (); @@ -1331,21 +1345,21 @@ namespace Gdk { public struct PangoAttrEmbossColor { public weak Pango.Attribute attr; public Pango.Color color; - [CCode (cname = "gdk_pango_attr_emboss_color_new")] + [CCode (cname = "gdk_pango_attr_emboss_color_new", has_construct_function = false)] public PangoAttrEmbossColor (Gdk.Color color); } [CCode (cheader_filename = "gdk/gdk.h")] public struct PangoAttrEmbossed { public weak Pango.Attribute attr; public bool embossed; - [CCode (cname = "gdk_pango_attr_embossed_new")] + [CCode (cname = "gdk_pango_attr_embossed_new", has_construct_function = false)] public PangoAttrEmbossed (bool embossed); } [CCode (cheader_filename = "gdk/gdk.h")] public struct PangoAttrStipple { public weak Pango.Attribute attr; public weak Gdk.Bitmap stipple; - [CCode (cname = "gdk_pango_attr_stipple_new")] + [CCode (cname = "gdk_pango_attr_stipple_new", has_construct_function = false)] public PangoAttrStipple (Gdk.Bitmap stipple); } [CCode (cheader_filename = "gdk/gdk.h")] @@ -1360,7 +1374,7 @@ namespace Gdk { public int n_colors; public weak GLib.SList info_list; public void free (); - [CCode (cname = "gdk_rgb_cmap_new")] + [CCode (cname = "gdk_rgb_cmap_new", has_construct_function = false)] public RgbCmap (uint[] colors); } [CCode (cheader_filename = "gdk/gdk.h")] @@ -1466,7 +1480,7 @@ namespace Gdk { public bool get_state (out Gdk.ModifierType state); public uint get_time (); public static void handler_set (Gdk.EventFunc func, void* data, GLib.DestroyNotify notify); - [CCode (cname = "gdk_event_new")] + [CCode (cname = "gdk_event_new", has_construct_function = false)] public Event (Gdk.EventType type); public static Gdk.Event peek (); public void put (); diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 44a6a66..7827780 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -1,4 +1,4 @@ -/* gdk-pixbuf-2.0.vapi generated by vapigen, do not modify. */ +/* gdk-pixbuf-2.0.vapi generated by lt-vapigen, do not modify. */ [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")] namespace Gdk { @@ -98,17 +98,27 @@ namespace Gdk { public weak uchar[] get_pixels (); public int get_rowstride (); public int get_width (); + [CCode (has_construct_function = false)] public Pixbuf (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height); [NoArrayLength] + [CCode (has_construct_function = false)] public Pixbuf.from_data (uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify? destroy_fn); + [CCode (has_construct_function = false)] public Pixbuf.from_file (string filename) throws GLib.Error; + [CCode (has_construct_function = false)] public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio) throws GLib.Error; + [CCode (has_construct_function = false)] public Pixbuf.from_file_at_size (string filename, int width, int height) throws GLib.Error; + [CCode (has_construct_function = false)] public Pixbuf.from_inline (int data_length, uchar data, bool copy_pixels) throws GLib.Error; + [CCode (has_construct_function = false)] public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable cancellable) throws GLib.Error; + [CCode (has_construct_function = false)] public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable cancellable) throws GLib.Error; [NoArrayLength] + [CCode (has_construct_function = false)] public Pixbuf.from_xpm_data (string[] data); + [CCode (has_construct_function = false)] public Pixbuf.subpixbuf (Gdk.Pixbuf src_pixbuf, int src_x, int src_y, int width, int height); public weak Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle); public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate); @@ -145,6 +155,7 @@ namespace Gdk { public weak Gdk.Pixbuf get_static_image (); public int get_width (); public bool is_static_image (); + [CCode (has_construct_function = false)] public PixbufAnimation.from_file (string filename) throws GLib.Error; } [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")] @@ -160,8 +171,11 @@ namespace Gdk { public weak Gdk.PixbufAnimation get_animation (); public weak Gdk.PixbufFormat get_format (); public weak Gdk.Pixbuf get_pixbuf (); + [CCode (has_construct_function = false)] public PixbufLoader (); + [CCode (has_construct_function = false)] public PixbufLoader.with_mime_type (string mime_type) throws GLib.Error; + [CCode (has_construct_function = false)] public PixbufLoader.with_type (string image_type) throws GLib.Error; public void set_size (int width, int height); public bool write (uchar[] buf) throws GLib.Error; @@ -173,6 +187,7 @@ namespace Gdk { [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")] public class PixbufSimpleAnim : Gdk.PixbufAnimation { public void add_frame (Gdk.Pixbuf pixbuf); + [CCode (has_construct_function = false)] public PixbufSimpleAnim (int width, int height, float rate); } [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")] diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index a1c9443..e75bee8 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -188,6 +188,7 @@ namespace GLib { public void add (string name, GLib.FileAttributeType type, GLib.FileAttributeInfoFlags flags); public weak GLib.FileAttributeInfoList dup (); public weak GLib.FileAttributeInfo lookup (string name); + [CCode (has_construct_function = false)] public FileAttributeInfoList (); } [Compact] @@ -197,6 +198,7 @@ namespace GLib { public weak string enumerate_next (); public bool matches (string attribute); public bool matches_only (string attribute); + [CCode (has_construct_function = false)] public FileAttributeMatcher (string attributes); } [Compact] @@ -245,6 +247,7 @@ namespace GLib { } [CCode (cheader_filename = "gio/gio.h")] public class AppLaunchContext : GLib.Object { + [CCode (has_construct_function = false)] public AppLaunchContext (); public virtual weak string get_display (GLib.AppInfo info, GLib.List files); public virtual weak string get_startup_notify_id (GLib.AppInfo info, GLib.List files); @@ -254,9 +257,9 @@ namespace GLib { public class BufferedInputStream : GLib.FilterInputStream { public ulong get_available (); public ulong get_buffer_size (); - [CCode (type = "GInputStream*")] + [CCode (type = "GInputStream*", has_construct_function = false)] public BufferedInputStream (GLib.InputStream base_stream); - [CCode (type = "GInputStream*")] + [CCode (type = "GInputStream*", has_construct_function = false)] public BufferedInputStream.sized (GLib.InputStream base_stream, ulong size); public ulong peek (void* buffer, ulong offset, ulong count); public void* peek_buffer (ulong count); @@ -271,9 +274,9 @@ namespace GLib { public class BufferedOutputStream : GLib.FilterOutputStream { public bool get_auto_grow (); public ulong get_buffer_size (); - [CCode (type = "GOutputStream*")] + [CCode (type = "GOutputStream*", has_construct_function = false)] public BufferedOutputStream (GLib.OutputStream base_stream); - [CCode (type = "GOutputStream*")] + [CCode (type = "GOutputStream*", has_construct_function = false)] public BufferedOutputStream.sized (GLib.OutputStream base_stream, ulong size); public void set_auto_grow (bool auto_grow); public void set_buffer_size (ulong size); @@ -286,6 +289,7 @@ namespace GLib { public static weak GLib.Cancellable get_current (); public int get_fd (); public bool is_cancelled (); + [CCode (has_construct_function = false)] public Cancellable (); public void pop_current (); public void push_current (); @@ -297,6 +301,7 @@ namespace GLib { public class DataInputStream : GLib.BufferedInputStream { public GLib.DataStreamByteOrder get_byte_order (); public GLib.DataStreamNewlineType get_newline_type (); + [CCode (has_construct_function = false)] public DataInputStream (GLib.InputStream base_stream); public uchar read_byte (GLib.Cancellable? cancellable) throws GLib.Error; public short read_int16 (GLib.Cancellable? cancellable) throws GLib.Error; @@ -315,6 +320,7 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h")] public class DataOutputStream : GLib.FilterOutputStream { public GLib.DataStreamByteOrder get_byte_order (); + [CCode (has_construct_function = false)] public DataOutputStream (GLib.OutputStream base_stream); public bool put_byte (uchar data, GLib.Cancellable? cancellable) throws GLib.Error; public bool put_int16 (short data, GLib.Cancellable? cancellable) throws GLib.Error; @@ -344,7 +350,7 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h")] public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon { public weak GLib.File get_file (); - [CCode (type = "GIcon*")] + [CCode (type = "GIcon*", has_construct_function = false)] public FileIcon (GLib.File file); } [CCode (cheader_filename = "gio/gio.h")] @@ -380,6 +386,7 @@ namespace GLib { public weak string get_symlink_target (); public bool has_attribute (string attribute); public weak string list_attributes (string name_space); + [CCode (has_construct_function = false)] public FileInfo (); public void remove_attribute (string attribute); public void set_attribute (string attribute, GLib.FileAttributeType type, void* value_p); @@ -453,6 +460,7 @@ namespace GLib { public class FilenameCompleter : GLib.Object { public weak string get_completion_suffix (string initial_text); public weak string get_completions (string initial_text); + [CCode (has_construct_function = false)] public FilenameCompleter (); public void set_dirs_only (bool dirs_only); public virtual signal void got_completion_data (); @@ -472,6 +480,7 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h")] public class IOModule : GLib.TypeModule, GLib.TypePlugin { public void load (); + [CCode (has_construct_function = false)] public IOModule (string filename); public void unload (); } @@ -499,9 +508,9 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h")] public class MemoryInputStream : GLib.InputStream, GLib.Seekable { public void add_data (void* data, long len, GLib.DestroyNotify? destroy); - [CCode (type = "GInputStream*")] + [CCode (type = "GInputStream*", has_construct_function = false)] public MemoryInputStream (); - [CCode (type = "GInputStream*")] + [CCode (type = "GInputStream*", has_construct_function = false)] public MemoryInputStream.from_data (void* data, long len, GLib.DestroyNotify? destroy); } [CCode (cheader_filename = "gio/gio.h")] @@ -509,7 +518,7 @@ namespace GLib { public void* get_data (); public ulong get_data_size (); public ulong get_size (); - [CCode (type = "GOutputStream*")] + [CCode (type = "GOutputStream*", has_construct_function = false)] public MemoryOutputStream (void* data, ulong len, GLib.ReallocFunc realloc_fn, GLib.DestroyNotify? destroy); } [CCode (cheader_filename = "gio/gio.h")] @@ -520,6 +529,7 @@ namespace GLib { public weak string get_password (); public GLib.PasswordSave get_password_save (); public weak string get_username (); + [CCode (has_construct_function = false)] public MountOperation (); public void set_anonymous (bool anonymous); public void set_choice (int choice); @@ -575,8 +585,11 @@ namespace GLib { public void* get_op_res_gpointer (); public long get_op_res_gssize (); public void* get_source_tag (); + [CCode (has_construct_function = false)] public SimpleAsyncResult (GLib.Object source_object, GLib.AsyncReadyCallback callback, void* source_tag); + [CCode (has_construct_function = false)] public SimpleAsyncResult.error (GLib.Object source_object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format); + [CCode (has_construct_function = false)] public SimpleAsyncResult.from_error (GLib.Object source_object, GLib.AsyncReadyCallback callback, GLib.Error error); public bool propagate_error () throws GLib.Error; public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority, GLib.Cancellable? cancellable); @@ -593,11 +606,11 @@ namespace GLib { public void append_name (string iconname); [NoArrayLength] public weak string[] get_names (); - [CCode (type = "GIcon*")] + [CCode (type = "GIcon*", has_construct_function = false)] public ThemedIcon (string iconname); - [CCode (type = "GIcon*")] + [CCode (type = "GIcon*", has_construct_function = false)] public ThemedIcon.from_names (string[] iconnames, int len); - [CCode (type = "GIcon*")] + [CCode (type = "GIcon*", has_construct_function = false)] public ThemedIcon.with_default_fallbacks (string iconname); public void prepend_name (string iconname); [NoAccessorMethod] diff --git a/vapi/gio-unix-2.0.vapi b/vapi/gio-unix-2.0.vapi index 3297caf..f159ddc 100644 --- a/vapi/gio-unix-2.0.vapi +++ b/vapi/gio-unix-2.0.vapi @@ -27,16 +27,20 @@ namespace GLib { [CCode (cheader_filename = "gio/gdesktopappinfo.h")] public class DesktopAppInfo : GLib.Object, GLib.AppInfo { public bool get_is_hidden (); + [CCode (has_construct_function = false)] public DesktopAppInfo (string desktop_id); + [CCode (has_construct_function = false)] public DesktopAppInfo.from_filename (string filename); public static void set_desktop_env (string desktop_env); } [CCode (cheader_filename = "gio/gunixinputstream.h")] public class UnixInputStream : GLib.InputStream { + [CCode (type = "GInputStream*", has_construct_function = false)] public UnixInputStream (int fd, bool close_fd_at_close); } [CCode (cheader_filename = "gio/gunixmounts.h")] public class UnixMountMonitor : GLib.Object { + [CCode (has_construct_function = false)] public UnixMountMonitor (); public void set_rate_limit (int limit_msec); public virtual signal void mountpoints_changed (); @@ -44,6 +48,7 @@ namespace GLib { } [CCode (cheader_filename = "gio/gunixoutputstream.h")] public class UnixOutputStream : GLib.OutputStream { + [CCode (type = "GOutputStream*", has_construct_function = false)] public UnixOutputStream (int fd, bool close_fd_at_close); } [CCode (cheader_filename = "gio/gunixmounts.h")] diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 4f7e941..86cfe0d 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -514,17 +514,29 @@ namespace Gst { public Event (); public weak Gst.Structure get_structure (); public bool has_name (string name); + [CCode (has_construct_function = false)] public Event.buffer_size (Gst.Format format, int64 minsize, int64 maxsize, bool async); + [CCode (has_construct_function = false)] public Event.custom (Gst.EventType type, Gst.Structure# structure); + [CCode (has_construct_function = false)] public Event.eos (); + [CCode (has_construct_function = false)] public Event.flush_start (); + [CCode (has_construct_function = false)] public Event.flush_stop (); + [CCode (has_construct_function = false)] public Event.latency (Gst.ClockTime latency); + [CCode (has_construct_function = false)] public Event.navigation (Gst.Structure# structure); + [CCode (has_construct_function = false)] public Event.new_segment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 position); + [CCode (has_construct_function = false)] public Event.new_segment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 position); + [CCode (has_construct_function = false)] public Event.qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp); + [CCode (has_construct_function = false)] public Event.seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop); + [CCode (has_construct_function = false)] public Event.tag (Gst.TagList taglist); public void parse_buffer_size (out Gst.Format format, out int64 minsize, out int64 maxsize, out bool async); public void parse_latency (out Gst.ClockTime latency); @@ -595,6 +607,7 @@ namespace Gst { public weak Gst.Buffer join (Gst.Buffer buf2); public weak Gst.Buffer make_metadata_writable (); public weak Gst.Buffer merge (Gst.Buffer buf2); + [CCode (has_construct_function = false)] public Buffer.and_alloc (uint size); public void set_caps (Gst.Caps caps); public weak Gst.Buffer span (uint offset, Gst.Buffer buf2, uint len); @@ -673,7 +686,9 @@ namespace Gst { public bool is_linked (); public Gst.PadLinkReturn link (Gst.Pad sinkpad); public void load_and_link (Gst.Object parent); + [CCode (has_construct_function = false)] public Pad.from_static_template (Gst.StaticPadTemplate templ, string name); + [CCode (has_construct_function = false)] public Pad.from_template (Gst.PadTemplate templ, string name); public bool pause_task (); public bool peer_accept_caps (Gst.Caps caps); @@ -760,10 +775,15 @@ namespace Gst { public weak Gst.Caps make_writable (); public void merge (Gst.Caps caps2); public void merge_structure (Gst.Structure structure); + [CCode (has_construct_function = false)] public Caps.any (); + [CCode (has_construct_function = false)] public Caps.empty (); + [CCode (has_construct_function = false)] public Caps.full (Gst.Structure struct1, ...); + [CCode (has_construct_function = false)] public Caps.full_valist (Gst.Structure structure, void* var_args); + [CCode (has_construct_function = false)] public Caps.simple (string media_type, string fieldname, ...); public weak Gst.Caps normalize (); public void remove_structure (uint idx); @@ -890,7 +910,9 @@ namespace Gst { public void* find_custom (GLib.CompareFunc func); public Gst.IteratorResult fold (Gst.IteratorFoldFunction func, GLib.Value ret); public Gst.IteratorResult @foreach (GLib.Func func); + [CCode (has_construct_function = false)] public Iterator (uint size, GLib.Type type, GLib.Mutex @lock, uint master_cookie, Gst.IteratorNextFunction next, Gst.IteratorItemFunction item, Gst.IteratorResyncFunction resync, Gst.IteratorFreeFunction free); + [CCode (has_construct_function = false)] public Iterator.list (GLib.Type type, GLib.Mutex @lock, uint master_cookie, GLib.List list, void* owner, Gst.IteratorItemFunction item, Gst.IteratorDisposeFunction free); public void push (Gst.Iterator other); } @@ -903,25 +925,45 @@ namespace Gst { public weak Gst.Object src; public weak Gst.Structure structure; public weak Gst.Structure get_structure (); + [CCode (has_construct_function = false)] public Message.application (Gst.Object src, Gst.Structure structure); + [CCode (has_construct_function = false)] public Message.async_done (Gst.Object src); + [CCode (has_construct_function = false)] public Message.async_start (Gst.Object src, bool new_base_time); + [CCode (has_construct_function = false)] public Message.buffering (Gst.Object src, int percent); + [CCode (has_construct_function = false)] public Message.clock_lost (Gst.Object src, Gst.Clock clock); + [CCode (has_construct_function = false)] public Message.clock_provide (Gst.Object src, Gst.Clock clock, bool ready); + [CCode (has_construct_function = false)] public Message.custom (Gst.MessageType type, Gst.Object src, Gst.Structure structure); + [CCode (has_construct_function = false)] public Message.duration (Gst.Object src, Gst.Format format, int64 duration); + [CCode (has_construct_function = false)] public Message.element (Gst.Object src, Gst.Structure structure); + [CCode (has_construct_function = false)] public Message.eos (Gst.Object src); + [CCode (has_construct_function = false)] public Message.error (Gst.Object src, GLib.Error error, string debug); + [CCode (has_construct_function = false)] public Message.info (Gst.Object src, GLib.Error error, string debug); + [CCode (has_construct_function = false)] public Message.latency (Gst.Object src); + [CCode (has_construct_function = false)] public Message.new_clock (Gst.Object src, Gst.Clock clock); + [CCode (has_construct_function = false)] public Message.segment_done (Gst.Object src, Gst.Format format, int64 position); + [CCode (has_construct_function = false)] public Message.segment_start (Gst.Object src, Gst.Format format, int64 position); + [CCode (has_construct_function = false)] public Message.state_changed (Gst.Object src, Gst.State oldstate, Gst.State newstate, Gst.State pending); + [CCode (has_construct_function = false)] public Message.state_dirty (Gst.Object src); + [CCode (has_construct_function = false)] public Message.tag (Gst.Object src, Gst.TagList tag_list); + [CCode (has_construct_function = false)] public Message.warning (Gst.Object src, GLib.Error error, string debug); public void parse_async_start (out bool new_base_time); public void parse_buffering (out int percent); @@ -952,6 +994,7 @@ namespace Gst { public weak Gst.MiniObject copy (); public bool is_writable (); public weak Gst.MiniObject make_writable (); + [CCode (has_construct_function = false)] public MiniObject (GLib.Type type); public void replace (Gst.MiniObject newdata); } @@ -991,6 +1034,7 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h")] public class Poll { public bool add_fd (Gst.PollFD fd); + [CCode (has_construct_function = false)] public Poll (bool controllable); public bool remove_fd (Gst.PollFD fd); public void restart (); @@ -1017,14 +1061,23 @@ namespace Gst { public Gst.QueryType type; public weak Gst.Structure structure; public weak Gst.Structure get_structure (); + [CCode (has_construct_function = false)] public Query.application (Gst.QueryType type, Gst.Structure structure); + [CCode (has_construct_function = false)] public Query.buffering (Gst.Format format); + [CCode (has_construct_function = false)] public Query.convert (Gst.Format src_format, int64 value, Gst.Format dest_format); + [CCode (has_construct_function = false)] public Query.duration (Gst.Format format); + [CCode (has_construct_function = false)] public Query.formats (); + [CCode (has_construct_function = false)] public Query.latency (); + [CCode (has_construct_function = false)] public Query.position (Gst.Format format); + [CCode (has_construct_function = false)] public Query.seeking (Gst.Format format); + [CCode (has_construct_function = false)] public Query.segment (Gst.Format format); public void parse_buffering_percent (bool busy, int percent); public void parse_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total); @@ -1111,6 +1164,7 @@ namespace Gst { public void insert (Gst.TagList from, Gst.TagMergeMode mode); public bool is_empty (); public weak Gst.TagList merge (Gst.TagList list2, Gst.TagMergeMode mode); + [CCode (has_construct_function = false)] public TagList (); public void remove_tag (string tag); } @@ -1123,6 +1177,7 @@ namespace Gst { public int bufsize; public int bufoffset; public void flush (); + [CCode (has_construct_function = false)] public Trace (string filename, int size); public static void read_tsc (int64 dst); public void set_default (); @@ -1198,6 +1253,7 @@ namespace Gst { public bool clip (Gst.Format format, int64 start, int64 stop, int64 clip_start, int64 clip_stop); public weak Gst.Segment copy (); public void init (Gst.Format format); + [CCode (has_construct_function = false)] public Segment (); public void set_duration (Gst.Format format, int64 duration); public void set_last_stop (Gst.Format format, int64 position); @@ -1247,7 +1303,9 @@ namespace Gst { public void id_set_value (GLib.Quark field, GLib.Value value); public bool map_in_place (Gst.StructureMapFunc func); public int n_fields (); + [CCode (has_construct_function = false)] public Structure (string name, string firstfield, ...); + [CCode (has_construct_function = false)] public Structure.valist (string name, string firstfield, void* varargs); public weak string nth_field_name (uint index); public void remove_all_fields (); @@ -1285,7 +1343,7 @@ namespace Gst { public weak Gst.Iterator iterate_sinks (); public weak Gst.Iterator iterate_sorted (); public weak Gst.Iterator iterate_sources (); - [CCode (type = "GstElement*")] + [CCode (type = "GstElement*", has_construct_function = false)] public Bin (string name); public bool remove (Gst.Element element); public void remove_many (Gst.Element element_1, ...); @@ -1317,6 +1375,7 @@ namespace Gst { public void disable_sync_message_emission (); public void enable_sync_message_emission (); public bool have_pending (); + [CCode (has_construct_function = false)] public Bus (); public weak Gst.Message peek (); public weak Gst.Message poll (Gst.MessageType events, Gst.ClockTimeDiff timeout); @@ -1353,9 +1412,9 @@ namespace Gst { public void get_calibration (Gst.ClockTime internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom); public weak Gst.Clock get_master (); public Gst.ClockTime get_time (); - [CCode (type = "GstClockID")] + [CCode (type = "GstClockID", has_construct_function = false)] public Clock.periodic_id (Gst.Clock clock, Gst.ClockTime start_time, Gst.ClockTime interval); - [CCode (type = "GstClockID")] + [CCode (type = "GstClockID", has_construct_function = false)] public Clock.single_shot_id (Gst.Clock clock, Gst.ClockTime time); public void set_calibration (Gst.ClockTime internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom); public bool set_master (Gst.Clock master); @@ -1510,13 +1569,13 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h")] public class GhostPad : Gst.Pad { public weak Gst.Pad get_target (); - [CCode (type = "GstPad*")] + [CCode (type = "GstPad*", has_construct_function = false)] public GhostPad (string name, Gst.Pad target); - [CCode (type = "GstPad*")] + [CCode (type = "GstPad*", has_construct_function = false)] public GhostPad.from_template (string name, Gst.Pad target, Gst.PadTemplate templ); - [CCode (type = "GstPad*")] + [CCode (type = "GstPad*", has_construct_function = false)] public GhostPad.no_target (string name, Gst.PadDirection dir); - [CCode (type = "GstPad*")] + [CCode (type = "GstPad*", has_construct_function = false)] public GhostPad.no_target_from_template (string name, Gst.PadTemplate templ); public bool set_target (Gst.Pad? newtarget); } @@ -1541,8 +1600,9 @@ namespace Gst { public weak Gst.IndexEntry get_assoc_entry_full (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value, GLib.CompareDataFunc func); public Gst.IndexCertainty get_certainty (); public int get_group (); + [CCode (has_construct_function = false)] public Index (); - [CCode (type = "gint")] + [CCode (type = "gint", has_construct_function = false)] public Index.group (Gst.Index index); public void set_certainty (Gst.IndexCertainty certainty); public void set_filter (Gst.IndexFilter filter); @@ -1567,6 +1627,7 @@ namespace Gst { public void destroy (); public static weak Gst.IndexFactory find (string name); public static weak Gst.Index make (string name); + [CCode (has_construct_function = false)] public IndexFactory (string name, string longdesc, GLib.Type type); } [CCode (cheader_filename = "gst/gst.h")] @@ -1576,6 +1637,7 @@ namespace Gst { public Gst.PadPresence presence; public weak Gst.Caps caps; public weak Gst.Caps get_caps (); + [CCode (has_construct_function = false)] public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, Gst.Caps caps); [HasEmitter] public virtual signal void pad_created (Gst.Pad pad); @@ -1590,7 +1652,7 @@ namespace Gst { public weak Gst.Clock get_clock (); public Gst.ClockTime get_delay (); public Gst.ClockTime get_last_stream_time (); - [CCode (type = "GstElement*")] + [CCode (type = "GstElement*", has_construct_function = false)] public Pipeline (string name); public void set_auto_flush_bus (bool auto_flush); public bool set_clock (Gst.Clock clock); @@ -1722,6 +1784,7 @@ namespace Gst { public weak Gst.Element get_element (uchar[] name); public weak GLib.List get_topelements (); public static weak Gst.Element make_element (void* cur, Gst.Object parent); + [CCode (has_construct_function = false)] public XML (); public bool parse_doc (void* doc, uchar[] root); public bool parse_file (uchar[] fname, uchar[] root); diff --git a/vapi/gstreamer-audio-0.10.vapi b/vapi/gstreamer-audio-0.10.vapi index b850eb6..b3d9d30 100644 --- a/vapi/gstreamer-audio-0.10.vapi +++ b/vapi/gstreamer-audio-0.10.vapi @@ -122,6 +122,7 @@ namespace Gst { public weak Gst.AudioClockGetTimeFunc func; public void* user_data; public Gst.ClockTime last_time; + [CCode (type = "GstClock*", has_construct_function = false)] public AudioClock (string name, Gst.AudioClockGetTimeFunc func); } [CCode (cheader_filename = "gst/audio/gstaudiofilter.h")] @@ -262,11 +263,11 @@ namespace Gst { public const string AUDIO_INT_STANDARD_PAD_TEMPLATE_CAPS; [CCode (cheader_filename = "gst/audio/audio.h")] public static weak Gst.Buffer audio_buffer_clip (Gst.Buffer buffer, Gst.Segment segment, int rate, int frame_size); - [CCode (cheader_filename = "gst/audio/audio.h")] + [CCode (cheader_filename = "gst/audio/mixerutils.h")] public static weak GLib.List audio_default_registry_mixer_filter (Gst.AudioMixerFilterFunc filter_func, bool first); [CCode (cheader_filename = "gst/audio/audio.h")] public static Gst.ClockTime audio_duration_from_pad_buffer (Gst.Pad pad, Gst.Buffer buf); - [CCode (cheader_filename = "gst/audio/audio.h")] + [CCode (cheader_filename = "gst/audio/multichannel.h")] public static Gst.AudioChannelPosition audio_fixate_channel_positions (Gst.Structure str); [CCode (cheader_filename = "gst/audio/audio.h")] public static int audio_frame_byte_size (Gst.Pad pad); @@ -276,11 +277,11 @@ namespace Gst { public static Gst.AudioChannelPosition audio_get_channel_positions (Gst.Structure str); [CCode (cheader_filename = "gst/audio/audio.h")] public static bool audio_is_buffer_framed (Gst.Pad pad, Gst.Buffer buf); - [CCode (cheader_filename = "gst/audio/audio.h")] + [CCode (cheader_filename = "gst/audio/multichannel.h")] public static void audio_set_caps_channel_positions_list (Gst.Caps caps, Gst.AudioChannelPosition pos, int num_positions); [CCode (cheader_filename = "gst/audio/audio.h")] public static void audio_set_channel_positions (Gst.Structure str, Gst.AudioChannelPosition pos); - [CCode (cheader_filename = "gst/audio/audio.h")] + [CCode (cheader_filename = "gst/audio/multichannel.h")] public static void audio_set_structure_channel_positions_list (Gst.Structure str, Gst.AudioChannelPosition pos, int num_positions); [CCode (cheader_filename = "gst/audio/audio.h")] public static void audio_structure_set_int (Gst.Structure structure, Gst.AudioFieldFlag flag); diff --git a/vapi/gstreamer-base-0.10.vapi b/vapi/gstreamer-base-0.10.vapi index 34125d2..81efd02 100644 --- a/vapi/gstreamer-base-0.10.vapi +++ b/vapi/gstreamer-base-0.10.vapi @@ -7,7 +7,7 @@ namespace Gst { STARTED, FLAG_LAST } - [CCode (cheader_filename = "gst/base/gstbasesink.h")] + [CCode (cheader_filename = "gst/gst.h")] public class BaseSrc : Gst.Element { public Gst.Pad srcpad; public GLib.Mutex live_lock; @@ -77,7 +77,7 @@ namespace Gst { [NoAccessorMethod] public bool typefind { get; set; } } - [CCode (cheader_filename = "gst/base/gstbasetransform.h")] + [CCode (cheader_filename = "gst/gst.h")] public class BaseTransform : Gst.Element { public Gst.Pad sinkpad; public Gst.Pad srcpad; @@ -164,6 +164,7 @@ namespace Gst { public void clear (); public void copy (uchar dest, uint offset, uint size); public void flush (uint flush); + [CCode (has_construct_function = false)] public Adapter (); public uchar peek (uint size); public void push (Gst.Buffer buf); @@ -265,6 +266,7 @@ namespace Gst { public Gst.FlowReturn collect_range (uint64 offset, uint length); public uint flush (Gst.CollectData data, uint size); public bool is_active (Gst.Pad pad); + [CCode (has_construct_function = false)] public CollectPads (); public weak Gst.Buffer peek (Gst.CollectData data); public weak Gst.Buffer pop (Gst.CollectData data); @@ -293,6 +295,7 @@ namespace Gst { public bool is_empty (); public bool is_full (); public void limits_changed (); + [CCode (has_construct_function = false)] public DataQueue (Gst.DataQueueCheckFullFunction checkfull, void* checkdata); public bool pop (out weak Gst.DataQueueItem item); public bool push (Gst.DataQueueItem item); diff --git a/vapi/gstreamer-controller-0.10.vapi b/vapi/gstreamer-controller-0.10.vapi index 0fe49e8..1966abd 100644 --- a/vapi/gstreamer-controller-0.10.vapi +++ b/vapi/gstreamer-controller-0.10.vapi @@ -51,8 +51,11 @@ namespace Gst { public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array); public bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList value_arrays); public static bool init (int argc, out weak string argv); + [CCode (has_construct_function = false)] public Controller (GLib.Object object); + [CCode (has_construct_function = false)] public Controller.list (GLib.Object object, GLib.List list); + [CCode (has_construct_function = false)] public Controller.valist (GLib.Object object, void* var_args); public bool remove_properties (); public bool remove_properties_list (GLib.List list); @@ -75,6 +78,7 @@ namespace Gst { public weak GLib.Mutex @lock; public weak GLib.List get_all (); public int get_count (); + [CCode (has_construct_function = false)] public InterpolationControlSource (); public bool set (Gst.ClockTime timestamp, GLib.Value value); public bool set_from_list (GLib.SList timedvalues); @@ -85,6 +89,7 @@ namespace Gst { [CCode (cheader_filename = "gst/controller/gstlfocontrolsource.h")] public class LFOControlSource : Gst.ControlSource { public weak GLib.Mutex @lock; + [CCode (has_construct_function = false)] public LFOControlSource (); [NoAccessorMethod] public GLib.Value amplitude { get; set; } diff --git a/vapi/gstreamer-dataprotocol-0.10.vapi b/vapi/gstreamer-dataprotocol-0.10.vapi index a1d5b12..ad11d6f 100644 --- a/vapi/gstreamer-dataprotocol-0.10.vapi +++ b/vapi/gstreamer-dataprotocol-0.10.vapi @@ -28,6 +28,7 @@ namespace Gst { public weak Gst.DPHeaderFromBufferFunction header_from_buffer; public weak Gst.DPPacketFromCapsFunction packet_from_caps; public weak Gst.DPPacketFromEventFunction packet_from_event; + [CCode (has_construct_function = false)] public DPPacketizer (Gst.DPVersion version); } [CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")] diff --git a/vapi/gstreamer-fft-0.10.vapi b/vapi/gstreamer-fft-0.10.vapi index 59fa8d8..c2fefa9 100644 --- a/vapi/gstreamer-fft-0.10.vapi +++ b/vapi/gstreamer-fft-0.10.vapi @@ -18,6 +18,7 @@ namespace Gst { public int len; public void fft (float timedata, Gst.FFTF32Complex freqdata); public void inverse_fft (Gst.FFTF32Complex freqdata, float timedata); + [CCode (has_construct_function = false)] public FFTF32 (int len, bool inverse); public void window (float timedata, Gst.FFTWindow window); } @@ -35,6 +36,7 @@ namespace Gst { public int len; public void fft (double timedata, Gst.FFTF64Complex freqdata); public void inverse_fft (Gst.FFTF64Complex freqdata, double timedata); + [CCode (has_construct_function = false)] public FFTF64 (int len, bool inverse); public void window (double timedata, Gst.FFTWindow window); } @@ -52,6 +54,7 @@ namespace Gst { public int len; public void fft (short timedata, Gst.FFTS16Complex freqdata); public void inverse_fft (Gst.FFTS16Complex freqdata, short timedata); + [CCode (has_construct_function = false)] public FFTS16 (int len, bool inverse); public void window (short timedata, Gst.FFTWindow window); } @@ -69,6 +72,7 @@ namespace Gst { public int len; public void fft (int timedata, Gst.FFTS32Complex freqdata); public void inverse_fft (Gst.FFTS32Complex freqdata, int timedata); + [CCode (has_construct_function = false)] public FFTS32 (int len, bool inverse); public void window (int timedata, Gst.FFTWindow window); } diff --git a/vapi/gstreamer-net-0.10.vapi b/vapi/gstreamer-net-0.10.vapi index a114e99..325b5d0 100644 --- a/vapi/gstreamer-net-0.10.vapi +++ b/vapi/gstreamer-net-0.10.vapi @@ -7,6 +7,7 @@ namespace Gst { public class NetTimePacket { public Gst.ClockTime local_time; public Gst.ClockTime remote_time; + [CCode (has_construct_function = false)] public NetTimePacket (uchar buffer); public static weak Gst.NetTimePacket receive (int fd, void* addr, uint32 len); public int send (int fd, void* addr, uint32 len); @@ -20,6 +21,7 @@ namespace Gst { public Gst.ClockTime current_timeout; public void* servaddr; public weak GLib.Thread thread; + [CCode (type = "GstClock*", has_construct_function = false)] public NetClientClock (string name, string remote_address, int remote_port, Gst.ClockTime base_time); [NoAccessorMethod] public string address { get; set; } @@ -32,6 +34,7 @@ namespace Gst { [NoArrayLength] public weak int[] control_sock; public weak GLib.Thread thread; + [CCode (has_construct_function = false)] public NetTimeProvider (Gst.Clock clock, string address, int port); [NoAccessorMethod] public bool active { get; set; } diff --git a/vapi/gstreamer-netbuffer-0.10.vapi b/vapi/gstreamer-netbuffer-0.10.vapi index 0cf6463..b27ba45 100644 --- a/vapi/gstreamer-netbuffer-0.10.vapi +++ b/vapi/gstreamer-netbuffer-0.10.vapi @@ -31,7 +31,7 @@ namespace Gst { public weak Gst.Buffer buffer; public weak Gst.NetAddress from; public weak Gst.NetAddress to; - [CCode (cname = "gst_netbuffer_new")] + [CCode (cname = "gst_netbuffer_new", has_construct_function = false)] public NetBuffer (); } [Compact] diff --git a/vapi/gstreamer-pbutils-0.10.vapi b/vapi/gstreamer-pbutils-0.10.vapi index a822727..248e0a6 100644 --- a/vapi/gstreamer-pbutils-0.10.vapi +++ b/vapi/gstreamer-pbutils-0.10.vapi @@ -18,7 +18,8 @@ namespace Gst { } [Compact] [CCode (cheader_filename = "gst/pbutils/pbutils.h")] - public class InstallPluginsContext : GLib.Boxed { + public class InstallPluginsContext { + [CCode (has_construct_function = false)] public InstallPluginsContext (); public void set_xid (uint xid); } diff --git a/vapi/gstreamer-riff-0.10.vapi b/vapi/gstreamer-riff-0.10.vapi index 16e254b..df1c671 100644 --- a/vapi/gstreamer-riff-0.10.vapi +++ b/vapi/gstreamer-riff-0.10.vapi @@ -364,34 +364,34 @@ namespace Gst { public const int RIFF_WAVE_FORMAT_YAMAHA_ADPCM; [CCode (cheader_filename = "gst/riff/riff-ids.h")] public const int RIFF_WAVE_FORMAT_ZYXEL_ADPCM; - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-media.h")] public static weak Gst.Caps riff_create_audio_caps (ushort codec_id, Gst.gst_riff_strh strh, Gst.gst_riff_strf_auds strf, Gst.Buffer strf_data, Gst.Buffer strd_data, out weak string codec_name); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-media.h")] public static weak Gst.Caps riff_create_audio_template_caps (); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-media.h")] public static weak Gst.Caps riff_create_iavs_caps (uint codec_fcc, Gst.gst_riff_strh strh, Gst.gst_riff_strf_iavs strf, Gst.Buffer strf_data, Gst.Buffer strd_data, out weak string codec_name); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-media.h")] public static weak Gst.Caps riff_create_iavs_template_caps (); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-media.h")] public static weak Gst.Caps riff_create_video_caps (uint codec_fcc, Gst.gst_riff_strh strh, Gst.gst_riff_strf_vids strf, Gst.Buffer strf_data, Gst.Buffer strd_data, out weak string codec_name); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-media.h")] public static weak Gst.Caps riff_create_video_template_caps (); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static void riff_init (); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static bool riff_parse_chunk (Gst.Element element, Gst.Buffer buf, uint offset, uint fourcc, out weak Gst.Buffer chunk_data); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static bool riff_parse_file_header (Gst.Element element, Gst.Buffer buf, uint doctype); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static void riff_parse_info (Gst.Element element, Gst.Buffer buf, out weak Gst.TagList taglist); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static bool riff_parse_strf_auds (Gst.Element element, Gst.Buffer buf, out weak Gst.gst_riff_strf_auds strf, out weak Gst.Buffer data); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static bool riff_parse_strf_iavs (Gst.Element element, Gst.Buffer buf, out weak Gst.gst_riff_strf_iavs strf, out weak Gst.Buffer data); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static bool riff_parse_strf_vids (Gst.Element element, Gst.Buffer buf, out weak Gst.gst_riff_strf_vids strf, out weak Gst.Buffer data); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static bool riff_parse_strh (Gst.Element element, Gst.Buffer buf, out weak Gst.gst_riff_strh strh); - [CCode (cheader_filename = "gst/riff/riff-ids.h")] + [CCode (cheader_filename = "gst/riff/riff-read.h")] public static Gst.FlowReturn riff_read_chunk (Gst.Element element, Gst.Pad pad, uint64 offset, uint tag, out weak Gst.Buffer chunk_data); } diff --git a/vapi/gstreamer-rtp-0.10.vapi b/vapi/gstreamer-rtp-0.10.vapi index e767ee2..267a1ee 100644 --- a/vapi/gstreamer-rtp-0.10.vapi +++ b/vapi/gstreamer-rtp-0.10.vapi @@ -196,91 +196,91 @@ namespace Gst { [NoAccessorMethod] public uint timestamp_offset { get; set; } } - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_MAX_BYE_SSRC_COUNT; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_MAX_RB_COUNT; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_MAX_SDES; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_MAX_SDES_ITEM_COUNT; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_VALID_MASK; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_VALID_VALUE; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public const int RTCP_VERSION; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_1016_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_CELLB_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_CN_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_DVI4_11025_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_DVI4_16000_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_DVI4_22050_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_DVI4_8000_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_DYNAMIC_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G721_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G722_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const int RTP_PAYLOAD_G723_53; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G723_53_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const int RTP_PAYLOAD_G723_63; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G723_63_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G723_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G728_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_G729_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_GSM_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_H261_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_H263_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_JPEG_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_L16_MONO_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_L16_STEREO_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_LPC_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_MP2T_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_MPA_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_MPV_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_NV_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_PCMA_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_PCMU_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_QCELP_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const int RTP_PAYLOAD_TS41; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_TS41_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const int RTP_PAYLOAD_TS48; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtppayloads.h")] public const string RTP_PAYLOAD_TS48_STRING; - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public const int RTP_VERSION; [CCode (cheader_filename = "gst/gst.h")] public static bool rtcp_buffer_add_packet (Gst.Buffer buffer, Gst.RTCPType type, Gst.RTCPPacket packet); @@ -296,94 +296,94 @@ namespace Gst { public static weak Gst.Buffer rtcp_buffer_new_copy_data (void* data, uint len); [CCode (cheader_filename = "gst/gst.h")] public static weak Gst.Buffer rtcp_buffer_new_take_data (void* data, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public static bool rtcp_buffer_validate (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public static bool rtcp_buffer_validate_data (uchar data, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public static uint64 rtcp_ntp_to_unix (uint64 ntptime); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h")] public static uint64 rtcp_unix_to_ntp (uint64 unixtime); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_allocate_data (Gst.Buffer buffer, uint payload_len, uchar pad_len, uchar csrc_count); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_calc_header_len (uchar csrc_count); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_calc_packet_len (uint payload_len, uchar pad_len, uchar csrc_count); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_calc_payload_len (uint packet_len, uchar pad_len, uchar csrc_count); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static int rtp_buffer_compare_seqnum (ushort seqnum1, ushort seqnum2); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_default_clock_rate (uchar payload_type); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint64 rtp_buffer_ext_timestamp (uint64 exttimestamp, uint timestamp); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_get_csrc (Gst.Buffer buffer, uchar idx); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uchar rtp_buffer_get_csrc_count (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static bool rtp_buffer_get_extension (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static bool rtp_buffer_get_extension_data (Gst.Buffer buffer, ushort bits, void* data, uint wordlen); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_get_header_len (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static bool rtp_buffer_get_marker (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_get_packet_len (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static bool rtp_buffer_get_padding (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void* rtp_buffer_get_payload (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static weak Gst.Buffer rtp_buffer_get_payload_buffer (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_get_payload_len (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static weak Gst.Buffer rtp_buffer_get_payload_subbuffer (Gst.Buffer buffer, uint offset, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uchar rtp_buffer_get_payload_type (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static ushort rtp_buffer_get_seq (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_get_ssrc (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uint rtp_buffer_get_timestamp (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static uchar rtp_buffer_get_version (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static weak Gst.Buffer rtp_buffer_new_allocate (uint payload_len, uchar pad_len, uchar csrc_count); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static weak Gst.Buffer rtp_buffer_new_allocate_len (uint packet_len, uchar pad_len, uchar csrc_count); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static weak Gst.Buffer rtp_buffer_new_copy_data (void* data, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static weak Gst.Buffer rtp_buffer_new_take_data (void* data, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_pad_to (Gst.Buffer buffer, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_csrc (Gst.Buffer buffer, uchar idx, uint csrc); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_extension (Gst.Buffer buffer, bool extension); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_marker (Gst.Buffer buffer, bool marker); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_packet_len (Gst.Buffer buffer, uint len); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_padding (Gst.Buffer buffer, bool padding); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_payload_type (Gst.Buffer buffer, uchar payload_type); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_seq (Gst.Buffer buffer, ushort seq); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_ssrc (Gst.Buffer buffer, uint ssrc); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_timestamp (Gst.Buffer buffer, uint timestamp); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static void rtp_buffer_set_version (Gst.Buffer buffer, uchar version); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static bool rtp_buffer_validate (Gst.Buffer buffer); - [CCode (cheader_filename = "gst/gst.h")] + [CCode (cheader_filename = "gst/rtp/gstrtpbuffer.h")] public static bool rtp_buffer_validate_data (uchar data, uint len); } diff --git a/vapi/gstreamer-sdp-0.10.vapi b/vapi/gstreamer-sdp-0.10.vapi index 37f9b05..06e52db 100644 --- a/vapi/gstreamer-sdp-0.10.vapi +++ b/vapi/gstreamer-sdp-0.10.vapi @@ -69,6 +69,7 @@ namespace Gst { public uint get_port (); public weak string get_proto (); public Gst.SDPResult init (); + [CCode (type = "GstSDPResult", has_construct_function = false)] public SDPMedia (out weak Gst.SDPMedia media); public Gst.SDPResult set_information (string information); public Gst.SDPResult set_key (string type, string data); @@ -124,6 +125,7 @@ namespace Gst { public weak Gst.SDPZone get_zone (uint idx); public Gst.SDPResult init (); public uint medias_len (); + [CCode (type = "GstSDPResult", has_construct_function = false)] public SDPMessage (out weak Gst.SDPMessage msg); public static Gst.SDPResult parse_buffer (uchar data, uint size, Gst.SDPMessage msg); public uint phones_len (); diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 9849720..7c03547 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -1245,6 +1245,7 @@ namespace Gtk { public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority); public static weak Gtk.BindingSet by_class (void* object_class); public static weak Gtk.BindingSet find (string set_name); + [CCode (has_construct_function = false)] public BindingSet (string set_name); } [Compact] @@ -1535,6 +1536,7 @@ namespace Gtk { public bool get_embedded_rect (out Gdk.Rectangle rectangle); public weak string get_filename (); public weak Gdk.Pixbuf load_icon () throws GLib.Error; + [CCode (has_construct_function = false)] public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf); public void set_raw_coordinates (bool raw_coordinates); } @@ -1544,7 +1546,9 @@ namespace Gtk { public void add_source (Gtk.IconSource source); public weak Gtk.IconSet copy (); public void get_sizes (Gtk.IconSize[] sizes); + [CCode (has_construct_function = false)] public IconSet (); + [CCode (has_construct_function = false)] public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf); public weak Gdk.Pixbuf render_icon (Gtk.Style style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail); } @@ -1561,6 +1565,7 @@ namespace Gtk { public bool get_size_wildcarded (); public Gtk.StateType get_state (); public bool get_state_wildcarded (); + [CCode (has_construct_function = false)] public IconSource (); public void set_direction (Gtk.TextDirection direction); public void set_direction_wildcarded (bool setting); @@ -1589,9 +1594,13 @@ namespace Gtk { public double get_width (Gtk.Unit unit); public bool is_custom (); public bool is_equal (Gtk.PaperSize size2); + [CCode (has_construct_function = false)] public PaperSize (string name); + [CCode (has_construct_function = false)] public PaperSize.custom (string name, string display_name, double width, double height, Gtk.Unit unit); + [CCode (has_construct_function = false)] public PaperSize.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error; + [CCode (has_construct_function = false)] public PaperSize.from_ppd (string ppd_name, string ppd_display_name, double width, double height); public void set_size (double width, double height, Gtk.Unit unit); public void to_key_file (GLib.KeyFile key_file, string group_name); @@ -1659,6 +1668,7 @@ namespace Gtk { public void add_text_targets (uint info); public void add_uri_targets (uint info); public bool find (Gdk.Atom target, uint info); + [CCode (has_construct_function = false)] public TargetList (Gtk.TargetEntry[] targets, uint ntargets); public void remove (Gdk.Atom target); } @@ -1691,6 +1701,7 @@ namespace Gtk { public uint pad4; public weak Gtk.TextAttributes copy (); public void copy_values (Gtk.TextAttributes dest); + [CCode (has_construct_function = false)] public TextAttributes (); } [Compact] @@ -1705,10 +1716,13 @@ namespace Gtk { public weak int[] get_indices (); public bool is_ancestor (Gtk.TreePath descendant); public bool is_descendant (Gtk.TreePath ancestor); + [CCode (has_construct_function = false)] public TreePath (); + [CCode (has_construct_function = false)] public TreePath.first (); - [CCode (sentinel = "-1")] + [CCode (sentinel = "-1", has_construct_function = false)] public TreePath.from_indices (...); + [CCode (has_construct_function = false)] public TreePath.from_string (string path); public void next (); public void prepend_index (int index_); @@ -1724,7 +1738,9 @@ namespace Gtk { public weak Gtk.TreeModel get_model (); public Gtk.TreePath get_path (); public static void inserted (GLib.Object proxy, Gtk.TreePath path); + [CCode (has_construct_function = false)] public TreeRowReference (Gtk.TreeModel model, Gtk.TreePath path); + [CCode (has_construct_function = false)] public TreeRowReference.proxy (GLib.Object proxy, Gtk.TreeModel model, Gtk.TreePath path); public static void reordered (GLib.Object proxy, Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order); public bool valid (); @@ -1745,7 +1761,7 @@ namespace Gtk { public weak string get_website (); public weak string get_website_label (); public bool get_wrap_license (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public AboutDialog (); [NoArrayLength] public void set_artists (string[] artists); @@ -1795,6 +1811,7 @@ namespace Gtk { public weak Gtk.AccelKey find (Gtk.AccelGroupFindFunc find_func, void* data); public static weak Gtk.AccelGroup from_accel_closure (GLib.Closure closure); public void @lock (); + [CCode (has_construct_function = false)] public AccelGroup (); public weak Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries); public void unlock (); @@ -1810,7 +1827,7 @@ namespace Gtk { public ushort accel_string_width; public weak Gtk.Widget get_accel_widget (); public uint get_accel_width (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public AccelLabel (string str); public bool refetch (); public void set_accel_closure (GLib.Closure accel_closure); @@ -1855,6 +1872,7 @@ namespace Gtk { public bool get_visible (); public bool is_sensitive (); public bool is_visible (); + [CCode (has_construct_function = false)] public Action (string name, string? label, string? tooltip, string? stock_id); public void set_accel_group (Gtk.AccelGroup accel_group); public void set_accel_path (string accel_path); @@ -1908,6 +1926,7 @@ namespace Gtk { public bool get_sensitive (); public bool get_visible (); public weak GLib.List list_actions (); + [CCode (has_construct_function = false)] public ActionGroup (string name); public void remove_action (Gtk.Action action); public void set_sensitive (bool sensitive); @@ -1929,7 +1948,7 @@ namespace Gtk { public class Adjustment : Gtk.Object { public void clamp_page (double lower, double upper); public double get_value (); - [CCode (type = "GtkObject*")] + [CCode (type = "GtkObject*", has_construct_function = false)] public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size); public void set_value (double value); [NoAccessorMethod] @@ -1951,7 +1970,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable { public void get_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Alignment (float xalign, float yalign, float xscale, float yscale); public void set (float xalign, float yalign, float xscale, float yscale); public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint padding_right); @@ -1974,7 +1993,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Arrow (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type); public void set (Gtk.ArrowType arrow_type, Gtk.ShadowType shadow_type); [NoAccessorMethod] @@ -1985,7 +2004,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable { public Gtk.Allocation center_allocation; - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public AspectFrame (string label, float xalign, float yalign, float ratio, bool obey_child); public void set (float xalign, float yalign, float ratio, bool obey_child); [NoAccessorMethod] @@ -2013,7 +2032,7 @@ namespace Gtk { public weak string get_page_title (Gtk.Widget page); public Gtk.AssistantPageType get_page_type (Gtk.Widget page); public int insert_page (Gtk.Widget page, int position); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Assistant (); public int prepend_page (Gtk.Widget page); public void remove_action_widget (Gtk.Widget child); @@ -2062,6 +2081,7 @@ namespace Gtk { public weak GLib.Object get_object (string name); public weak GLib.SList get_objects (); public weak string get_translation_domain (); + [CCode (has_construct_function = false)] public Builder (); public void set_translation_domain (string domain); public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error; @@ -2087,13 +2107,13 @@ namespace Gtk { public Gtk.ReliefStyle get_relief (); public bool get_use_stock (); public bool get_use_underline (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Button (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Button.from_stock (string stock_id); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Button.with_label (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Button.with_mnemonic (string label); public void set_alignment (float xalign, float yalign); public void set_focus_on_click (bool focus_on_click); @@ -2166,7 +2186,7 @@ namespace Gtk { public int get_detail_width_chars (); public Gtk.CalendarDisplayOptions get_display_options (); public bool mark_day (uint day); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Calendar (); public void select_day (uint day); public bool select_month (uint month, uint year); @@ -2248,7 +2268,7 @@ namespace Gtk { public weak Gtk.Widget edit_widget; public weak Gtk.Widget grab_widget; public weak Gtk.Widget sizing_label; - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererAccel (); [NoAccessorMethod] public uint accel_key { get; set; } @@ -2264,7 +2284,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class CellRendererCombo : Gtk.CellRendererText { public uint focus_out_id; - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererCombo (); [NoAccessorMethod] public bool has_entry { get; set; } @@ -2276,7 +2296,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class CellRendererPixbuf : Gtk.CellRenderer { - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererPixbuf (); [NoAccessorMethod] public bool follow_state { get; set; } @@ -2297,7 +2317,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class CellRendererProgress : Gtk.CellRenderer { - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererProgress (); [NoAccessorMethod] public Gtk.ProgressBarOrientation orientation { get; set; } @@ -2314,7 +2334,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class CellRendererSpin : Gtk.CellRendererText { - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererSpin (); [NoAccessorMethod] public Gtk.Adjustment adjustment { get; set; } @@ -2330,7 +2350,7 @@ namespace Gtk { public Pango.Underline underline_style; public int fixed_height_rows; public uint calc_fixed_height; - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererText (); public void set_fixed_height_from_font (int number_of_rows); [NoAccessorMethod] @@ -2427,7 +2447,7 @@ namespace Gtk { public class CellRendererToggle : Gtk.CellRenderer { public bool get_active (); public bool get_radio (); - [CCode (type = "GtkCellRenderer*")] + [CCode (type = "GtkCellRenderer*", has_construct_function = false)] public CellRendererToggle (); public void set_active (bool setting); public void set_radio (bool radio); @@ -2446,13 +2466,13 @@ namespace Gtk { public weak GLib.List get_cell_renderers (); public weak Gtk.TreePath get_displayed_row (); public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CellView (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CellView.with_markup (string markup); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CellView.with_pixbuf (Gdk.Pixbuf pixbuf); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CellView.with_text (string text); public void set_background_color (Gdk.Color color); public void set_displayed_row (Gtk.TreePath path); @@ -2468,11 +2488,11 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CheckButton (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CheckButton.with_label (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CheckButton.with_mnemonic (string label); [NoWrapper] public virtual void draw_indicator (Gdk.Rectangle area); @@ -2483,11 +2503,11 @@ namespace Gtk { public bool get_active (); public bool get_draw_as_radio (); public bool get_inconsistent (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CheckMenuItem (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CheckMenuItem.with_label (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public CheckMenuItem.with_mnemonic (string label); public void set_active (bool is_active); public void set_draw_as_radio (bool draw_as_radio); @@ -2535,9 +2555,9 @@ namespace Gtk { public void get_color (out Gdk.Color color); public weak string get_title (); public bool get_use_alpha (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ColorButton (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ColorButton.with_color (Gdk.Color color); public void set_alpha (ushort alpha); public void set_color (Gdk.Color color); @@ -2558,7 +2578,7 @@ namespace Gtk { public ushort get_previous_alpha (); public void get_previous_color (out Gdk.Color color); public bool is_adjusting (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ColorSelection (); public static bool palette_from_string (string str, Gdk.Color[] colors); public static weak string palette_to_string (Gdk.Color[] colors); @@ -2581,7 +2601,7 @@ namespace Gtk { public weak Gtk.Widget ok_button; public weak Gtk.Widget cancel_button; public weak Gtk.Widget help_button; - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ColorSelectionDialog (string title); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2599,11 +2619,11 @@ namespace Gtk { public weak string get_title (); public int get_wrap_width (); public void insert_text (int position, string text); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ComboBox (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ComboBox.text (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ComboBox.with_model (Gtk.TreeModel model); public void prepend_text (string text); public void remove_text (int position); @@ -2641,11 +2661,11 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class ComboBoxEntry : Gtk.ComboBox, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout { public int get_text_column (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ComboBoxEntry (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ComboBoxEntry.text (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ComboBoxEntry.with_model (Gtk.TreeModel model, int text_column); public void set_text_column (int text_column); public int text_column { get; set; } @@ -2717,7 +2737,7 @@ namespace Gtk { [NoArrayLength] public weak float[] ctlpoint; public void get_vector (int veclen, float[] vector); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Curve (); public void reset (); public void set_curve_type (Gtk.CurveType type); @@ -2746,9 +2766,9 @@ namespace Gtk { public void add_buttons (...); public bool get_has_separator (); public int get_response_for_widget (Gtk.Widget widget); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Dialog (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...); public int run (); [CCode (sentinel = "-1")] @@ -2765,7 +2785,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable { public void* draw_data; - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public DrawingArea (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2816,7 +2836,7 @@ namespace Gtk { public bool get_visibility (); public int get_width_chars (); public int layout_index_to_text_index (int layout_index); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Entry (); public void set_activates_default (bool setting); public void set_alignment (float xalign); @@ -2881,6 +2901,7 @@ namespace Gtk { public int get_text_column (); public void insert_action_markup (int index_, string markup); public void insert_action_text (int index_, string text); + [CCode (has_construct_function = false)] public EntryCompletion (); public void set_inline_completion (bool inline_completion); public void set_inline_selection (bool inline_selection); @@ -2909,7 +2930,7 @@ namespace Gtk { public class EventBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable { public bool get_above_child (); public bool get_visible_window (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public EventBox (); public void set_above_child (bool above_child); public void set_visible_window (bool visible_window); @@ -2924,9 +2945,9 @@ namespace Gtk { public int get_spacing (); public bool get_use_markup (); public bool get_use_underline (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Expander (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Expander.with_mnemonic (string label); public void set_expanded (bool expanded); public void set_label (string label); @@ -2947,11 +2968,11 @@ namespace Gtk { public bool get_focus_on_click (); public weak string get_title (); public int get_width_chars (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserButton (string title, Gtk.FileChooserAction action); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserButton.with_backend (string title, Gtk.FileChooserAction action, string backend); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserButton.with_dialog (Gtk.Widget dialog); public void set_focus_on_click (bool focus_on_click); public void set_title (string title); @@ -2965,16 +2986,16 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserDialog.with_backend (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, string backend, ...); } [CCode (cheader_filename = "gtk/gtk.h")] public class FileChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser, Gtk.FileChooserEmbed { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserWidget (Gtk.FileChooserAction action); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FileChooserWidget.with_backend (Gtk.FileChooserAction action, string backend); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2986,6 +3007,7 @@ namespace Gtk { public bool filter (Gtk.FileFilterInfo filter_info); public weak string get_name (); public Gtk.FileFilterFlags get_needed (); + [CCode (has_construct_function = false)] public FileFilter (); public void set_name (string name); } @@ -2994,7 +3016,7 @@ namespace Gtk { public weak GLib.List children; public bool get_has_window (); public void move (Gtk.Widget widget, int x, int y); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Fixed (); public void put (Gtk.Widget widget, int x, int y); public void set_has_window (bool has_window); @@ -3007,9 +3029,9 @@ namespace Gtk { public weak string get_title (); public bool get_use_font (); public bool get_use_size (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FontButton (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FontButton.with_font (string fontname); public bool set_font_name (string fontname); public void set_show_size (bool show_size); @@ -3042,7 +3064,7 @@ namespace Gtk { public int size; public weak string get_font_name (); public weak string get_preview_text (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FontSelection (); public bool set_font_name (string fontname); public void set_preview_text (string text); @@ -3063,7 +3085,7 @@ namespace Gtk { public bool auto_resize; public weak string get_font_name (); public weak string get_preview_text (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public FontSelectionDialog (string title); public bool set_font_name (string fontname); public void set_preview_text (string text); @@ -3075,7 +3097,7 @@ namespace Gtk { public void get_label_align (float xalign, float yalign); public weak Gtk.Widget get_label_widget (); public Gtk.ShadowType get_shadow_type (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Frame (string? label); public void set_label (string label); public void set_label_align (float xalign, float yalign); @@ -3102,44 +3124,44 @@ namespace Gtk { public float gamma; public weak Gtk.Widget gamma_dialog; public weak Gtk.Widget gamma_text; - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public GammaCurve (); } [CCode (cheader_filename = "gtk/gtk.h")] public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HBox (bool homogeneous, int spacing); } [CCode (cheader_filename = "gtk/gtk.h")] public class HButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HButtonBox (); } [CCode (cheader_filename = "gtk/gtk.h")] public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HPaned (); } [CCode (cheader_filename = "gtk/gtk.h")] public class HRuler : Gtk.Ruler, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HRuler (); } [CCode (cheader_filename = "gtk/gtk.h")] public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HScale (Gtk.Adjustment adjustment); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HScale.with_range (double min, double max, double step); } [CCode (cheader_filename = "gtk/gtk.h")] public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HScrollbar (Gtk.Adjustment adjustment); } [CCode (cheader_filename = "gtk/gtk.h")] public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HSeparator (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -3156,7 +3178,7 @@ namespace Gtk { public Gtk.PositionType get_handle_position (); public Gtk.ShadowType get_shadow_type (); public Gtk.PositionType get_snap_edge (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public HandleBox (); public void set_handle_position (Gtk.PositionType position); public void set_shadow_type (Gtk.ShadowType type); @@ -3201,7 +3223,7 @@ namespace Gtk { public uint in_hex_sequence; public uint modifiers_dropped; public void add_table (ushort data, int max_seq_len, int n_seqs); - [CCode (type = "GtkIMContext*")] + [CCode (type = "GtkIMContext*", has_construct_function = false)] public IMContextSimple (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -3209,7 +3231,7 @@ namespace Gtk { public weak Gtk.IMContext slave; public weak string context_id; public void append_menuitems (Gtk.MenuShell menushell); - [CCode (type = "GtkIMContext*")] + [CCode (type = "GtkIMContext*", has_construct_function = false)] public IMMulticontext (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -3219,6 +3241,7 @@ namespace Gtk { public void add_default (); public weak Gtk.IconSet lookup (string stock_id); public static weak Gtk.IconSet lookup_default (string stock_id); + [CCode (has_construct_function = false)] public IconFactory (); public void remove_default (); } @@ -3239,6 +3262,7 @@ namespace Gtk { public weak Gdk.Pixbuf load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error; public weak Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags); public weak Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags); + [CCode (has_construct_function = false)] public IconTheme (); public void prepend_search_path (string path); public bool rescan_if_needed (); @@ -3275,9 +3299,9 @@ namespace Gtk { public int get_tooltip_column (); public bool get_tooltip_context (int x, int y, bool keyboard_tip, out weak Gtk.TreeModel model, out weak Gtk.TreePath path, out Gtk.TreeIter iter); public bool get_visible_range (out weak Gtk.TreePath start_path, out weak Gtk.TreePath end_path); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public IconView (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public IconView.with_model (Gtk.TreeModel model); public bool path_is_selected (Gtk.TreePath path); public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align); @@ -3342,25 +3366,25 @@ namespace Gtk { public void get_pixmap (out weak Gdk.Pixmap pixmap, out weak Gdk.Bitmap mask); public void get_stock (out weak string stock_id, out Gtk.IconSize size); public Gtk.ImageType get_storage_type (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_animation (Gdk.PixbufAnimation animation); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_file (string filename); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_gicon (GLib.Icon icon, Gtk.IconSize size); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_icon_name (string icon_name, Gtk.IconSize size); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_image (Gdk.Image image, Gdk.Bitmap mask); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_pixbuf (Gdk.Pixbuf pixbuf); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_pixmap (Gdk.Pixmap pixmap, Gdk.Bitmap mask); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Image.from_stock (string stock_id, Gtk.IconSize size); public void set_from_animation (Gdk.PixbufAnimation animation); public void set_from_file (string filename); @@ -3400,13 +3424,13 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class ImageMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable { public weak Gtk.Widget get_image (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ImageMenuItem (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ImageMenuItem.from_stock (string stock_id, Gtk.AccelGroup? accel_group); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ImageMenuItem.with_label (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ImageMenuItem.with_mnemonic (string label); public void set_image (Gtk.Widget image); public Gtk.Widget image { get; set; } @@ -3423,7 +3447,7 @@ namespace Gtk { public weak Gdk.Device current_device; public weak Gtk.Widget keys_list; public weak Gtk.Widget keys_listbox; - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public InputDialog (); public virtual signal void disable_device (Gdk.Device device); public virtual signal void enable_device (Gdk.Device device); @@ -3432,9 +3456,9 @@ namespace Gtk { public class Invisible : Gtk.Widget, Atk.Implementor, Gtk.Buildable { public bool has_user_ref_count; public weak Gdk.Screen get_screen (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Invisible (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Invisible.for_screen (Gdk.Screen screen); public void set_screen (Gdk.Screen screen); public Gdk.Screen screen { get; set; } @@ -3479,9 +3503,9 @@ namespace Gtk { public bool get_use_markup (); public bool get_use_underline (); public int get_width_chars (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Label (string? str); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Label.with_mnemonic (string str); public void select_region (int start_offset, int end_offset); public void set_angle (double angle); @@ -3541,7 +3565,7 @@ namespace Gtk { public void get_size (out uint width, out uint height); public weak Gtk.Adjustment get_vadjustment (); public void move (Gtk.Widget child_widget, int x, int y); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Layout (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment); public void put (Gtk.Widget child_widget, int x, int y); public void set_hadjustment (Gtk.Adjustment adjustment); @@ -3558,9 +3582,9 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Buildable { public weak string get_uri (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public LinkButton (string uri); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public LinkButton.with_label (string uri, string label); public void set_uri (string uri); public static weak Gtk.LinkButtonUriFunc set_uri_hook (Gtk.LinkButtonUriFunc func, void* data, GLib.DestroyNotify destroy); @@ -3592,8 +3616,9 @@ namespace Gtk { public bool iter_is_valid (Gtk.TreeIter iter); public void move_after (Gtk.TreeIter iter, Gtk.TreeIter? position); public void move_before (Gtk.TreeIter iter, Gtk.TreeIter? position); + [CCode (has_construct_function = false)] public ListStore (int n_columns, ...); - [CCode (cname = "gtk_list_store_newv")] + [CCode (cname = "gtk_list_store_newv", has_construct_function = false)] public ListStore.newv (int n_columns, GLib.Type[] types); public void prepend (out Gtk.TreeIter iter); public bool remove (Gtk.TreeIter iter); @@ -3645,7 +3670,7 @@ namespace Gtk { public static weak GLib.List get_for_attach_widget (Gtk.Widget widget); public bool get_tearoff_state (); public weak string get_title (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Menu (); public void popdown (); public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, Gtk.MenuPositionFunc? func, uint button, uint activate_time); @@ -3667,7 +3692,7 @@ namespace Gtk { public class MenuBar : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable { public Gtk.PackDirection get_child_pack_direction (); public Gtk.PackDirection get_pack_direction (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public MenuBar (); public void set_child_pack_direction (Gtk.PackDirection child_pack_dir); public void set_pack_direction (Gtk.PackDirection pack_dir); @@ -3689,11 +3714,11 @@ namespace Gtk { public uint timer; public bool get_right_justified (); public weak Gtk.Widget get_submenu (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public MenuItem (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public MenuItem.with_label (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public MenuItem.with_mnemonic (string label); public void set_accel_path (string accel_path); public void set_right_justified (bool right_justified); @@ -3745,9 +3770,9 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable { public weak Gtk.Widget get_menu (); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public MenuToolButton (Gtk.Widget icon_widget, string label); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public MenuToolButton.from_stock (string stock_id); public void set_arrow_tooltip_markup (string markup); public void set_arrow_tooltip_text (string text); @@ -3760,9 +3785,9 @@ namespace Gtk { public weak Gtk.Widget label; public void format_secondary_markup (string message_format); public void format_secondary_text (string message_format); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public MessageDialog (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType type, Gtk.ButtonsType buttons, string message_format, ...); public void set_image (Gtk.Widget image); public void set_markup (string str); @@ -3800,7 +3825,7 @@ namespace Gtk { public class MountOperation : GLib.MountOperation { public weak Gtk.Window get_parent (); public weak Gdk.Screen get_screen (); - [CCode (type = "GMountOperation*")] + [CCode (type = "GMountOperation*", has_construct_function = false)] public MountOperation (Gtk.Window parent); public void set_parent (Gtk.Window parent); public void set_screen (Gdk.Screen screen); @@ -3845,7 +3870,7 @@ namespace Gtk { public Gtk.PositionType get_tab_pos (); public bool get_tab_reorderable (Gtk.Widget child); public int insert_page_menu (Gtk.Widget child, Gtk.Widget tab_label, Gtk.Widget menu_label, int position); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Notebook (); public void next_page (); public void popup_disable (); @@ -3928,8 +3953,11 @@ namespace Gtk { public double get_top_margin (Gtk.Unit unit); public bool load_file (string file_name) throws GLib.Error; public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error; + [CCode (has_construct_function = false)] public PageSetup (); + [CCode (has_construct_function = false)] public PageSetup.from_file (string file_name) throws GLib.Error; + [CCode (has_construct_function = false)] public PageSetup.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error; public void set_bottom_margin (double margin, Gtk.Unit unit); public void set_left_margin (double margin, Gtk.Unit unit); @@ -3996,9 +4024,9 @@ namespace Gtk { public void @construct (Gdk.NativeWindow socket_id); public void construct_for_display (Gdk.Display display, Gdk.NativeWindow socket_id); public Gdk.NativeWindow get_id (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Plug (Gdk.NativeWindow socket_id); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Plug.for_display (Gdk.Display display, Gdk.NativeWindow socket_id); [NoAccessorMethod] public bool embedded { get; } @@ -4025,6 +4053,7 @@ namespace Gtk { public Gtk.PrintStatus get_status (); public weak string get_status_string (); public bool is_finished (); + [CCode (has_construct_function = false)] public PrintOperation (); public Gtk.PrintOperationResult run (Gtk.PrintOperationAction action, Gtk.Window parent) throws GLib.Error; public void set_allow_async (bool allow_async); @@ -4110,8 +4139,11 @@ namespace Gtk { public bool has_key (string key); public bool load_file (string file_name) throws GLib.Error; public bool load_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error; + [CCode (has_construct_function = false)] public PrintSettings (); + [CCode (has_construct_function = false)] public PrintSettings.from_file (string file_name) throws GLib.Error; + [CCode (has_construct_function = false)] public PrintSettings.from_key_file (GLib.KeyFile key_file, string group_name) throws GLib.Error; public void set (string key, string value); public void set_bool (string key, bool value); @@ -4157,7 +4189,7 @@ namespace Gtk { public Gtk.ProgressBarOrientation get_orientation (); public double get_pulse_step (); public weak string get_text (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ProgressBar (); public void pulse (); public void set_ellipsize (Pango.EllipsizeMode mode); @@ -4185,6 +4217,7 @@ namespace Gtk { public class RadioAction : Gtk.ToggleAction, Gtk.Buildable { public int get_current_value (); public weak GLib.SList get_group (); + [CCode (has_construct_function = false)] public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value); public void set_current_value (int current_value); public void set_group (GLib.SList group); @@ -4197,17 +4230,17 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable { public weak GLib.SList get_group (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioButton (GLib.SList? group); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioButton.from_widget (Gtk.RadioButton radio_group_member); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioButton.with_label (GLib.SList? group, string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioButton.with_mnemonic (GLib.SList? group, string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton radio_group_member, string label); public void set_group (GLib.SList group); public Gtk.RadioButton group { set; } @@ -4216,17 +4249,17 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable { public weak GLib.SList get_group (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioMenuItem (GLib.SList group); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioMenuItem.from_widget (Gtk.RadioMenuItem group); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioMenuItem.with_label (GLib.SList group, string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem group, string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioMenuItem.with_mnemonic (GLib.SList group, string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem group, string label); public void set_group (GLib.SList group); public Gtk.RadioMenuItem group { set; } @@ -4235,13 +4268,13 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable { public weak GLib.SList get_group (); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public RadioToolButton (GLib.SList group); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public RadioToolButton.from_stock (GLib.SList group, string stock_id); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public RadioToolButton.from_widget (Gtk.RadioToolButton group); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton group, string stock_id); public void set_group (GLib.SList group); public Gtk.RadioToolButton group { set; } @@ -4327,6 +4360,7 @@ namespace Gtk { public weak GLib.SList icon_factories; public uint engine_specified; public weak Gtk.RcStyle copy (); + [CCode (has_construct_function = false)] public RcStyle (); [NoWrapper] public virtual weak Gtk.RcStyle create_rc_style (); @@ -4340,26 +4374,26 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser { public bool get_show_numbers (); - [CCode (type = "GtkAction*")] + [CCode (type = "GtkAction*", has_construct_function = false)] public RecentAction (string name, string label, string tooltip, string stock_id); - [CCode (type = "GtkAction*")] + [CCode (type = "GtkAction*", has_construct_function = false)] public RecentAction.for_manager (string name, string label, string tooltip, string stock_id, Gtk.RecentManager manager); public void set_show_numbers (bool show_numbers); public bool show_numbers { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RecentChooserDialog (string title, Gtk.Window parent, ...); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RecentChooserDialog.for_manager (string title, Gtk.Window parent, Gtk.RecentManager manager, ...); } [CCode (cheader_filename = "gtk/gtk.h")] public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser { public bool get_show_numbers (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RecentChooserMenu (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RecentChooserMenu.for_manager (Gtk.RecentManager manager); public void set_show_numbers (bool show_numbers); [NoWrapper] @@ -4374,9 +4408,9 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class RecentChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RecentChooserWidget (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public RecentChooserWidget.for_manager (Gtk.RecentManager manager); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -4391,6 +4425,7 @@ namespace Gtk { public bool filter (Gtk.RecentFilterInfo filter_info); public weak string get_name (); public Gtk.RecentFilterFlags get_needed (); + [CCode (has_construct_function = false)] public RecentFilter (); public void set_name (string name); } @@ -4405,6 +4440,7 @@ namespace Gtk { public bool has_item (string uri); public weak Gtk.RecentInfo lookup_item (string uri) throws GLib.Error; public bool move_item (string uri, string new_uri) throws GLib.Error; + [CCode (has_construct_function = false)] public RecentManager (); public int purge_items () throws GLib.Error; public bool remove_item (string uri) throws GLib.Error; @@ -4460,7 +4496,7 @@ namespace Gtk { public weak Gtk.Widget minus_button; public weak Gtk.Adjustment get_adjustment (); public double get_value (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ScaleButton (Gtk.IconSize size, double min, double max, double step, string[] icons); public void set_adjustment (Gtk.Adjustment adjustment); public void set_icons (string[] icons); @@ -4493,7 +4529,7 @@ namespace Gtk { public Gtk.ShadowType get_shadow_type (); public weak Gtk.Adjustment get_vadjustment (); public weak Gtk.Widget get_vscrollbar (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment); public void set_hadjustment (Gtk.Adjustment hadjustment); public void set_placement (Gtk.CornerType window_placement); @@ -4520,13 +4556,13 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public SeparatorMenuItem (); } [CCode (cheader_filename = "gtk/gtk.h")] public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable { public bool get_draw (); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public SeparatorToolItem (); public void set_draw (bool draw); public bool draw { get; set; } @@ -4651,6 +4687,7 @@ namespace Gtk { public bool get_ignore_hidden (); public Gtk.SizeGroupMode get_mode (); public weak GLib.SList get_widgets (); + [CCode (has_construct_function = false)] public SizeGroup (Gtk.SizeGroupMode mode); public void remove_widget (Gtk.Widget widget); public void set_ignore_hidden (bool ignore_hidden); @@ -4677,7 +4714,7 @@ namespace Gtk { public weak Gtk.Widget toplevel; public void add_id (Gdk.NativeWindow window_id); public Gdk.NativeWindow get_id (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Socket (); public virtual signal void plug_added (); public virtual signal bool plug_removed (); @@ -4703,9 +4740,9 @@ namespace Gtk { public double get_value (); public int get_value_as_int (); public bool get_wrap (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public SpinButton (Gtk.Adjustment adjustment, double climb_rate, uint digits); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public SpinButton.with_range (double min, double max, double step); public void set_adjustment (Gtk.Adjustment adjustment); public void set_digits (uint digits); @@ -4746,10 +4783,15 @@ namespace Gtk { public bool get_visible (); public uint get_x11_window_id (); public bool is_embedded (); + [CCode (has_construct_function = false)] public StatusIcon (); + [CCode (has_construct_function = false)] public StatusIcon.from_file (string filename); + [CCode (has_construct_function = false)] public StatusIcon.from_icon_name (string icon_name); + [CCode (has_construct_function = false)] public StatusIcon.from_pixbuf (Gdk.Pixbuf pixbuf); + [CCode (has_construct_function = false)] public StatusIcon.from_stock (string stock_id); public static void position_menu (Gtk.Menu menu, int x, int y, bool push_in); public void set_blinking (bool blinking); @@ -4792,7 +4834,7 @@ namespace Gtk { public weak Gdk.Window grip_window; public uint get_context_id (string context_description); public bool get_has_resize_grip (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Statusbar (); public void pop (uint context_id); public uint push (uint context_id, string text); @@ -4857,6 +4899,7 @@ namespace Gtk { public void detach (); public bool lookup_color (string color_name, out Gdk.Color color); public weak Gtk.IconSet lookup_icon_set (string stock_id); + [CCode (has_construct_function = false)] public Style (); [NoWrapper] public virtual weak Gtk.Style clone (); @@ -4924,7 +4967,7 @@ namespace Gtk { public uint get_default_row_spacing (); public bool get_homogeneous (); public uint get_row_spacing (uint row); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Table (uint rows, uint columns, bool homogeneous); public void resize (uint rows, uint columns); public void set_col_spacing (uint column, uint spacing); @@ -4944,7 +4987,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable { public uint torn_off; - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public TearoffMenuItem (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -5006,6 +5049,7 @@ namespace Gtk { public void insert_with_tags_by_name (Gtk.TextIter iter, string text, int len, ...); public void move_mark (Gtk.TextMark mark, Gtk.TextIter where); public void move_mark_by_name (string name, Gtk.TextIter where); + [CCode (has_construct_function = false)] public TextBuffer (Gtk.TextTagTable table); public void paste_clipboard (Gtk.Clipboard clipboard, Gtk.TextIter? override_location, bool default_editable); public void place_cursor (Gtk.TextIter where); @@ -5054,6 +5098,7 @@ namespace Gtk { public void* segment; public bool get_deleted (); public weak GLib.List get_widgets (); + [CCode (has_construct_function = false)] public TextChildAnchor (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -5064,6 +5109,7 @@ namespace Gtk { public bool get_left_gravity (); public weak string get_name (); public bool get_visible (); + [CCode (has_construct_function = false)] public TextMark (string name, bool left_gravity); public void set_visible (bool setting); [NoAccessorMethod] @@ -5084,6 +5130,7 @@ namespace Gtk { public uint pg_bg_color_set; public uint pad1; public int get_priority (); + [CCode (has_construct_function = false)] public TextTag (string name); public void set_priority (int priority); [NoAccessorMethod] @@ -5229,6 +5276,7 @@ namespace Gtk { public void @foreach (Gtk.TextTagTableForeach func, void* data); public int get_size (); public weak Gtk.TextTag lookup (string name); + [CCode (has_construct_function = false)] public TextTagTable (); public void remove (Gtk.TextTag tag); public virtual signal void tag_added (Gtk.TextTag tag); @@ -5305,9 +5353,9 @@ namespace Gtk { public void move_child (Gtk.Widget child, int xpos, int ypos); public bool move_mark_onscreen (Gtk.TextMark mark); public bool move_visually (Gtk.TextIter iter, int count); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public TextView (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public TextView.with_buffer (Gtk.TextBuffer buffer); public bool place_cursor_onscreen (); public void scroll_mark_onscreen (Gtk.TextMark mark); @@ -5366,6 +5414,7 @@ namespace Gtk { public class ToggleAction : Gtk.Action, Gtk.Buildable { public bool get_active (); public bool get_draw_as_radio (); + [CCode (has_construct_function = false)] public ToggleAction (string name, string? label, string? tooltip, string? stock_id); public void set_active (bool is_active); public void set_draw_as_radio (bool draw_as_radio); @@ -5379,11 +5428,11 @@ namespace Gtk { public bool get_active (); public bool get_inconsistent (); public bool get_mode (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ToggleButton (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ToggleButton.with_label (string label); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public ToggleButton.with_mnemonic (string label); public void set_active (bool is_active); public void set_inconsistent (bool setting); @@ -5398,9 +5447,9 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Buildable { public bool get_active (); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public ToggleToolButton (); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public ToggleToolButton.from_stock (string stock_id); public void set_active (bool is_active); public bool active { get; set; } @@ -5414,9 +5463,9 @@ namespace Gtk { public weak Gtk.Widget get_label_widget (); public weak string get_stock_id (); public bool get_use_underline (); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public ToolButton (Gtk.Widget icon_widget, string label); - [CCode (type = "GtkToolItem*")] + [CCode (type = "GtkToolItem*", has_construct_function = false)] public ToolButton.from_stock (string stock_id); public void set_icon_name (string icon_name); public void set_icon_widget (Gtk.Widget icon_widget); @@ -5445,6 +5494,7 @@ namespace Gtk { public bool get_use_drag_window (); public bool get_visible_horizontal (); public bool get_visible_vertical (); + [CCode (has_construct_function = false)] public ToolItem (); public void rebuild_menu (); public weak Gtk.Widget retrieve_proxy_menu_item (); @@ -5478,7 +5528,7 @@ namespace Gtk { public bool get_show_arrow (); public bool get_tooltips (); public void insert (Gtk.ToolItem item, int pos); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Toolbar (); public void set_drop_highlight_item (Gtk.ToolItem tool_item, int index_); public void set_icon_size (Gtk.IconSize icon_size); @@ -5520,7 +5570,7 @@ namespace Gtk { public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter); public weak Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path); public weak Gtk.TreeModel get_model (); - [CCode (type = "GtkTreeModel*")] + [CCode (type = "GtkTreeModel*", has_construct_function = false)] public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root); public void refilter (); public void set_modify_func (int n_columns, GLib.Type[] types, Gtk.TreeModelFilterModifyFunc func, void* data, Gtk.DestroyNotify destroy); @@ -5556,7 +5606,7 @@ namespace Gtk { public weak Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path); public weak Gtk.TreeModel get_model (); public bool iter_is_valid (Gtk.TreeIter iter); - [CCode (type = "GtkTreeModel*")] + [CCode (type = "GtkTreeModel*", has_construct_function = false)] public TreeModelSort.with_model (Gtk.TreeModel child_model); public void reset_default_sort_func (); [NoAccessorMethod] @@ -5618,8 +5668,9 @@ namespace Gtk { public bool iter_is_valid (Gtk.TreeIter iter); public void move_after (Gtk.TreeIter iter, Gtk.TreeIter? position); public void move_before (Gtk.TreeIter iter, Gtk.TreeIter? position); + [CCode (has_construct_function = false)] public TreeStore (int n_columns, ...); - [CCode (cname = "gtk_tree_store_newv")] + [CCode (cname = "gtk_tree_store_newv", has_construct_function = false)] public TreeStore.newv (int n_columns, GLib.Type[] types); public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent); public bool remove (Gtk.TreeIter iter); @@ -5692,9 +5743,9 @@ namespace Gtk { public bool is_rubber_banding_active (); public void map_expanded_rows (Gtk.TreeViewMappingFunc func, void* data); public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public TreeView (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public TreeView.with_model (Gtk.TreeModel model); public int remove_column (Gtk.TreeViewColumn column); public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align); @@ -5818,7 +5869,9 @@ namespace Gtk { public bool get_visible (); public weak Gtk.Widget get_widget (); public int get_width (); + [CCode (has_construct_function = false)] public TreeViewColumn (); + [CCode (has_construct_function = false)] public TreeViewColumn.with_attributes (string? title, Gtk.CellRenderer cell, ...); public void queue_resize (); public void set_alignment (float xalign); @@ -5869,8 +5922,9 @@ namespace Gtk { public weak GLib.SList get_toplevels (Gtk.UIManagerItemType types); public weak string get_ui (); public void insert_action_group (Gtk.ActionGroup action_group, int pos); + [CCode (has_construct_function = false)] public UIManager (); - [CCode (type = "guint")] + [CCode (type = "guint", has_construct_function = false)] public UIManager.merge_id (Gtk.UIManager self); public void remove_action_group (Gtk.ActionGroup action_group); public void remove_ui (uint merge_id); @@ -5888,39 +5942,39 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VBox (bool homogeneous, int spacing); } [CCode (cheader_filename = "gtk/gtk.h")] public class VButtonBox : Gtk.ButtonBox, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VButtonBox (); } [CCode (cheader_filename = "gtk/gtk.h")] public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VPaned (); } [CCode (cheader_filename = "gtk/gtk.h")] public class VRuler : Gtk.Ruler, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VRuler (); } [CCode (cheader_filename = "gtk/gtk.h")] public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VScale (Gtk.Adjustment adjustment); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VScale.with_range (double min, double max, double step); } [CCode (cheader_filename = "gtk/gtk.h")] public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VScrollbar (Gtk.Adjustment adjustment); } [CCode (cheader_filename = "gtk/gtk.h")] public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VSeparator (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -5930,7 +5984,7 @@ namespace Gtk { public weak Gtk.Adjustment get_hadjustment (); public Gtk.ShadowType get_shadow_type (); public weak Gtk.Adjustment get_vadjustment (); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment); public void set_hadjustment (Gtk.Adjustment adjustment); public void set_shadow_type (Gtk.ShadowType type); @@ -5942,7 +5996,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Buildable { - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public VolumeButton (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -6017,7 +6071,7 @@ namespace Gtk { public void maximize (); public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier); public void move (int x, int y); - [CCode (type = "GtkWidget*")] + [CCode (type = "GtkWidget*", has_construct_function = false)] public Window (Gtk.WindowType type); public bool parse_geometry (string geometry); public void present (); @@ -6118,6 +6172,7 @@ namespace Gtk { public class WindowGroup : GLib.Object { public weak GLib.SList grabs; public void add_window (Gtk.Window window); + [CCode (has_construct_function = false)] public WindowGroup (); public void remove_window (Gtk.Window window); } @@ -6430,7 +6485,7 @@ namespace Gtk { public int bottom; public Gtk.Border copy (); public void free (); - [CCode (cname = "gtk_border_new")] + [CCode (cname = "gtk_border_new", has_construct_function = false)] public Border (); } [CCode (type_id = "GTK_TYPE_REQUISITION", cheader_filename = "gtk/gtk.h")] diff --git a/vapi/pango.vapi b/vapi/pango.vapi index 6c14432..ca86be1 100644 --- a/vapi/pango.vapi +++ b/vapi/pango.vapi @@ -293,6 +293,7 @@ namespace Pango { public class AttrFontDesc { public weak Pango.Attribute attr; public weak Pango.FontDescription desc; + [CCode (type = "PangoAttribute*", has_construct_function = false)] public AttrFontDesc (Pango.FontDescription desc); } [Compact] @@ -316,6 +317,7 @@ namespace Pango { public class AttrLanguage { public weak Pango.Attribute attr; public weak Pango.Language value; + [CCode (type = "PangoAttribute*", has_construct_function = false)] public AttrLanguage (Pango.Language language); } [Compact] @@ -327,7 +329,9 @@ namespace Pango { public void* data; public weak Pango.AttrDataCopyFunc copy_func; public weak GLib.DestroyNotify destroy_func; + [CCode (type = "PangoAttribute*", has_construct_function = false)] public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect); + [CCode (type = "PangoAttribute*", has_construct_function = false)] public AttrShape.with_data (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect, void* data, Pango.AttrDataCopyFunc copy_func, GLib.DestroyNotify destroy_func); } [Compact] @@ -336,6 +340,7 @@ namespace Pango { public weak Pango.Attribute attr; public int size; public uint absolute; + [CCode (type = "PangoAttribute*", has_construct_function = false)] public AttrSize (int size); } [Compact] @@ -365,6 +370,7 @@ namespace Pango { public static weak Pango.Coverage from_bytes (uchar[][] bytes); public Pango.CoverageLevel get (int index_); public void max (Pango.Coverage other); + [CCode (has_construct_function = false)] public Coverage (); public void set (int index_, Pango.CoverageLevel level); public void to_bytes (uchar[][] bytes); @@ -416,6 +422,7 @@ namespace Pango { [CCode (cheader_filename = "pango/pango.h")] public class ScriptIter { public void get_range (out weak string start, out weak string end, Pango.Script script); + [CCode (has_construct_function = false)] public ScriptIter (string text, int length); public bool next (); } @@ -428,6 +435,7 @@ namespace Pango { public weak Pango.AttrIterator get_iterator (); public void insert (Pango.Attribute attr); public void insert_before (Pango.Attribute attr); + [CCode (has_construct_function = false)] public AttrList (); public void splice (Pango.AttrList other, int pos, int len); } @@ -451,6 +459,7 @@ namespace Pango { public uint hash (); public void merge (Pango.FontDescription desc_to_merge, bool replace_existing); public void merge_static (Pango.FontDescription desc_to_merge, bool replace_existing); + [CCode (has_construct_function = false)] public FontDescription (); public void set_absolute_size (double size); public void set_family (string family); @@ -500,6 +509,7 @@ namespace Pango { public void get_logical_widths (string text, int length, int embedding_level, int logical_widths); public int get_width (); public void index_to_x (string text, int length, Pango.Analysis analysis, int index_, bool trailing, int x_pos); + [CCode (has_construct_function = false)] public GlyphString (); public void set_size (int new_len); public void x_to_index (string text, int length, Pango.Analysis analysis, int x_pos, int index_, int trailing); @@ -512,6 +522,7 @@ namespace Pango { public int num_chars; public weak Pango.Analysis analysis; public weak Pango.Item copy (); + [CCode (has_construct_function = false)] public Item (); public weak Pango.Item split (int split_index, int split_offset); } @@ -561,7 +572,9 @@ namespace Pango { public int get_size (); public void get_tab (int tab_index, Pango.TabAlign alignment, int location); public void get_tabs (out Pango.TabAlign alignments, int locations); + [CCode (has_construct_function = false)] public TabArray (int initial_size, bool positions_in_pixels); + [CCode (has_construct_function = false)] public TabArray.with_positions (int size, bool positions_in_pixels, Pango.TabAlign first_alignment, ...); public void resize (int new_size); public void set_tab (int tab_index, Pango.TabAlign alignment, int location); @@ -661,6 +674,7 @@ namespace Pango { public bool is_ellipsized (); public bool is_wrapped (); public void move_cursor_visually (bool strong, int old_index, int old_trailing, int direction, int new_index, int new_trailing); + [CCode (has_construct_function = false)] public Layout (Pango.Context context); public void set_alignment (Pango.Alignment alignment); public void set_attributes (Pango.AttrList attrs); -- 2.7.4