]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
bindings: update numerous bindings to latest versions
authorEvan Nemerson <evan@coeus-group.com>
Wed, 30 May 2012 06:58:51 +0000 (23:58 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Wed, 30 May 2012 07:04:46 +0000 (00:04 -0700)
clutter-gtk-1.0, gdk-pixbuf-2.0, gio-2.0, json-glib-1.0, libgdata,
libsoup-2.4, libwnck-3.0, and mx-1.0

vapi/clutter-gtk-1.0.vapi
vapi/gdk-pixbuf-2.0.vapi
vapi/gio-2.0.vapi
vapi/json-glib-1.0.vapi
vapi/libgdata.vapi
vapi/libsoup-2.4.vapi
vapi/libwnck-3.0.vapi
vapi/metadata/Gio-2.0-custom.vala
vapi/metadata/Gio-2.0.metadata
vapi/mx-1.0.vapi

index 07886ffc042e949b0050640e5de10de77e0c2c2c..7481e98968a489d2db2fe88ee92bf38717fc9496 100644 (file)
@@ -20,7 +20,7 @@ namespace GtkClutter {
                public unowned Clutter.Actor get_stage ();
        }
        [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", type_id = "gtk_clutter_texture_get_type ()")]
-       public class Texture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable {
+       public class Texture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Texture ();
                public static GLib.Quark error_quark ();
index d33d9f4ac9b4a8a13c856574797affcbdd74ebe1..2954169de0cd755f6085f009792ac5bfac189bd1 100644 (file)
@@ -28,6 +28,10 @@ namespace Gdk {
                [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h")]
                public static Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels = true) throws GLib.Error;
                [CCode (has_construct_function = false)]
+               public Pixbuf.from_resource (string resource_path) throws GLib.Error;
+               [CCode (has_construct_function = false)]
+               public Pixbuf.from_resource_at_scale (string resource_path, int width, int height, bool preserve_aspect_ratio) throws GLib.Error;
+               [CCode (has_construct_function = false)]
                public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) 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 = null) throws GLib.Error;
index 486f06b2fee7d354c4b8295ec56d4cbddf366e57..e534a1ff40f700b41a5dbd166e26edab96e45c88 100644 (file)
@@ -1,4 +1,4 @@
-/* gio-2.0.vapi generated by lt-vapigen, do not modify. */
+/* gio-2.0.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "G", gir_namespace = "Gio", gir_version = "2.0", lower_case_cprefix = "g_")]
 namespace GLib {
@@ -259,7 +259,7 @@ namespace GLib {
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_application_get_type ()")]
        public class Application : GLib.Object, GLib.ActionGroup, GLib.ActionMap {
                [CCode (has_construct_function = false)]
-               public Application (string application_id, GLib.ApplicationFlags flags);
+               public Application (string? application_id, GLib.ApplicationFlags flags);
                [NoWrapper]
                public virtual void add_platform_data (GLib.VariantBuilder builder);
                [NoWrapper]
@@ -267,6 +267,8 @@ namespace GLib {
                [NoWrapper]
                public virtual void before_emit (GLib.Variant platform_data);
                public unowned string get_application_id ();
+               public unowned GLib.DBusConnection get_dbus_connection ();
+               public unowned string get_dbus_object_path ();
                public static unowned GLib.Application get_default ();
                public GLib.ApplicationFlags get_flags ();
                public uint get_inactivity_timeout ();
@@ -284,8 +286,9 @@ namespace GLib {
                public int run ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv = null);
                [NoWrapper]
                public virtual void run_mainloop ();
+               [Deprecated (since = "2.32:Use the #GActionMap interface instead.  Never ever mix use of this API with use of #GActionMap on the same @application or things will go very badly wrong.  This function is known to introduce buggy behaviour (ie")]
                public void set_action_group (GLib.ActionGroup? action_group);
-               public void set_application_id (string application_id);
+               public void set_application_id (string? application_id);
                public void set_default ();
                public void set_flags (GLib.ApplicationFlags flags);
                public void set_inactivity_timeout (uint inactivity_timeout);
@@ -330,7 +333,7 @@ namespace GLib {
                public GLib.Variant platform_data { construct; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_buffered_input_stream_get_type ()")]
-       public class BufferedInputStream : GLib.FilterInputStream {
+       public class BufferedInputStream : GLib.FilterInputStream, GLib.Seekable {
                [CCode (has_construct_function = false, type = "GInputStream*")]
                public BufferedInputStream (GLib.InputStream base_stream);
                public virtual ssize_t fill (ssize_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -347,7 +350,7 @@ namespace GLib {
                public uint buffer_size { get; set construct; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_buffered_output_stream_get_type ()")]
-       public class BufferedOutputStream : GLib.FilterOutputStream {
+       public class BufferedOutputStream : GLib.FilterOutputStream, GLib.Seekable {
                [CCode (has_construct_function = false, type = "GOutputStream*")]
                public BufferedOutputStream (GLib.OutputStream base_stream);
                public bool get_auto_grow ();
@@ -398,14 +401,14 @@ namespace GLib {
                public bool use_fallback { get; set construct; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_input_stream_get_type ()")]
-       public class ConverterInputStream : GLib.FilterInputStream {
+       public class ConverterInputStream : GLib.FilterInputStream, GLib.PollableInputStream {
                [CCode (has_construct_function = false, type = "GInputStream*")]
                public ConverterInputStream (GLib.InputStream base_stream, GLib.Converter converter);
                public unowned GLib.Converter get_converter ();
                public GLib.Converter converter { get; construct; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_output_stream_get_type ()")]
-       public class ConverterOutputStream : GLib.FilterOutputStream {
+       public class ConverterOutputStream : GLib.FilterOutputStream, GLib.PollableOutputStream {
                [CCode (has_construct_function = false, type = "GOutputStream*")]
                public ConverterOutputStream (GLib.OutputStream base_stream, GLib.Converter converter);
                public unowned GLib.Converter get_converter ();
@@ -450,6 +453,8 @@ namespace GLib {
        public class DBusAuthObserver : GLib.Object {
                [CCode (has_construct_function = false)]
                public DBusAuthObserver ();
+               [HasEmitter]
+               public signal bool allow_mechanism (string mechanism);
                public virtual signal bool authorize_authenticated_peer (GLib.IOStream stream, GLib.Credentials? credentials);
        }
        [CCode (cheader_filename = "gio/gio.h")]
@@ -833,7 +838,7 @@ namespace GLib {
                public int ref_count;
        }
        [CCode (cheader_filename = "gio/gio.h")]
-       public class DataInputStream : GLib.BufferedInputStream {
+       public class DataInputStream : GLib.BufferedInputStream, GLib.Seekable {
                [CCode (has_construct_function = false)]
                public DataInputStream (GLib.InputStream base_stream);
                public GLib.DataStreamByteOrder get_byte_order ();
@@ -862,7 +867,7 @@ namespace GLib {
                public GLib.DataStreamNewlineType newline_type { get; set; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_data_output_stream_get_type ()")]
-       public class DataOutputStream : GLib.FilterOutputStream {
+       public class DataOutputStream : GLib.FilterOutputStream, GLib.Seekable {
                [CCode (has_construct_function = false)]
                public DataOutputStream (GLib.OutputStream base_stream);
                public GLib.DataStreamByteOrder get_byte_order ();
@@ -1292,26 +1297,32 @@ namespace GLib {
                public abstract ssize_t read ([CCode (array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public bool read_all ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, out size_t bytes_read, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public virtual async ssize_t read_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+               public GLib.Bytes read_bytes (size_t count, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async GLib.Bytes read_bytes_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public bool set_pending () throws GLib.Error;
                public virtual ssize_t skip (size_t count, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public virtual async ssize_t skip_async (size_t count, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_memory_input_stream_get_type ()")]
-       public class MemoryInputStream : GLib.InputStream, GLib.Seekable {
+       public class MemoryInputStream : GLib.InputStream, GLib.PollableInputStream, GLib.Seekable {
                [CCode (has_construct_function = false, type = "GInputStream*")]
                public MemoryInputStream ();
+               public void add_bytes (GLib.Bytes bytes);
                public void add_data ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] data, GLib.DestroyNotify? destroy);
                [CCode (has_construct_function = false, type = "GInputStream*")]
+               public MemoryInputStream.from_bytes (GLib.Bytes bytes);
+               [CCode (has_construct_function = false, type = "GInputStream*")]
                public MemoryInputStream.from_data ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "gssize")] owned uint8[] data, GLib.DestroyNotify? destroy);
        }
        [CCode (cheader_filename = "gio/gio.h")]
-       public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
+       public class MemoryOutputStream : GLib.OutputStream, GLib.PollableOutputStream, GLib.Seekable {
                [CCode (has_construct_function = false, type = "GOutputStream*")]
                public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function, GLib.DestroyNotify? destroy_function);
                [CCode (array_length = false)]
                public unowned uint8[] get_data ();
                public size_t get_data_size ();
                public size_t get_size ();
+               public GLib.Bytes steal_as_bytes ();
                [CCode (array_length = false)]
                public uint8[] steal_data ();
                public void* data { get; construct; }
@@ -1488,6 +1499,8 @@ namespace GLib {
                public abstract ssize_t write ([CCode (array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public bool write_all ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public virtual async ssize_t write_async ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+               public ssize_t write_bytes (GLib.Bytes bytes, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async ssize_t write_bytes_async (GLib.Bytes bytes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_permission_get_type ()")]
        public abstract class Permission : GLib.Object {
@@ -1510,6 +1523,8 @@ namespace GLib {
        public class PollableSource : GLib.Source {
                [CCode (type = "GSource*")]
                public PollableSource (GLib.Object pollable_stream);
+               [CCode (type = "GSource*")]
+               public PollableSource.full (GLib.Object pollable_stream, GLib.Source? child_source, GLib.Cancellable? cancellable = null);
                [CCode (cname = "g_source_set_callback")]
                public void set_callback ([CCode (type = "GSourceFunc")] owned GLib.PollableSourceFunc func);
        }
@@ -1519,13 +1534,17 @@ namespace GLib {
                public ProxyAddress (GLib.InetAddress inetaddr, uint16 port, string protocol, string dest_hostname, uint16 dest_port, string? username, string? password);
                public unowned string get_destination_hostname ();
                public uint16 get_destination_port ();
+               public unowned string get_destination_protocol ();
                public unowned string get_password ();
                public unowned string get_protocol ();
+               public unowned string get_uri ();
                public unowned string get_username ();
                public string destination_hostname { get; construct; }
                public uint destination_port { get; construct; }
+               public string destination_protocol { get; construct; }
                public string password { get; construct; }
                public string protocol { get; construct; }
+               public string uri { get; construct; }
                public string username { get; construct; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_proxy_address_enumerator_get_type ()")]
@@ -1546,6 +1565,8 @@ namespace GLib {
                public virtual async string lookup_by_address_async (GLib.InetAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public virtual GLib.List<GLib.Variant> lookup_records (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public virtual async GLib.List<GLib.Variant> lookup_records_async (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (finish_function = "g_resolver_lookup_service_finish")]
                public async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
@@ -1951,6 +1972,19 @@ namespace GLib {
                public unowned GLib.IOStream get_base_io_stream ();
                public GLib.IOStream base_io_stream { get; construct; }
        }
+       [CCode (cheader_filename = "gio/gio.h", type_id = "g_test_dbus_get_type ()")]
+       public class TestDBus : GLib.Object {
+               [CCode (has_construct_function = false)]
+               public TestDBus (GLib.TestDBusFlags flags);
+               public void add_service_dir (string path);
+               public void down ();
+               public unowned string get_bus_address ();
+               public GLib.TestDBusFlags get_flags ();
+               public void stop ();
+               public static void unset ();
+               public void up ();
+               public GLib.TestDBusFlags flags { get; construct; }
+       }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_themed_icon_get_type ()")]
        public class ThemedIcon : GLib.Object, GLib.Icon {
                [CCode (has_construct_function = false, type = "GIcon*")]
@@ -2234,6 +2268,8 @@ namespace GLib {
                public abstract unowned string get_id ();
                public abstract unowned string get_name ();
                public static GLib.List<GLib.AppInfo> get_recommended_for_type (string content_type);
+               [CCode (array_length = false, array_null_terminated = true)]
+               public abstract unowned string[] get_supported_types ();
                public abstract bool launch (GLib.List<GLib.File>? files, GLib.AppLaunchContext? launch_context) throws GLib.Error;
                public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? launch_context) throws GLib.Error;
                public abstract bool launch_uris (GLib.List<string>? uris, GLib.AppLaunchContext? launch_context) throws GLib.Error;
@@ -2492,16 +2528,16 @@ namespace GLib {
                public abstract bool can_poll ();
                public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
                public abstract bool is_readable ();
-               public ssize_t read_nonblocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public ssize_t read_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (vfunc_name = "read_nonblocking")]
-               public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "gsize", type = "void*")] uint8[] buffer) throws GLib.Error;
+               public abstract ssize_t read_nonblocking_fn ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize", type = "void*")] uint8[] buffer) throws GLib.Error;
        }
        [CCode (cheader_filename = "gio/gio.h", type_cname = "GPollableOutputStreamInterface", type_id = "g_pollable_output_stream_get_type ()")]
        public interface PollableOutputStream : GLib.OutputStream {
                public abstract bool can_poll ();
                public abstract GLib.PollableSource create_source (GLib.Cancellable? cancellable = null);
                public abstract bool is_writable ();
-               public abstract ssize_t write_nonblocking ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buffer) throws GLib.Error;
+               public abstract ssize_t write_nonblocking ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buffer) throws GLib.Error;
        }
        [CCode (cheader_filename = "gio/gio.h", type_cname = "GProxyInterface", type_id = "g_proxy_get_type ()")]
        public interface Proxy : GLib.Object {
@@ -2990,6 +3026,14 @@ namespace GLib {
                FOR_SESSION,
                PERMANENTLY
        }
+       [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOLVER_RECORD_")]
+       public enum ResolverRecordType {
+               SRV,
+               MX,
+               TXT,
+               SOA,
+               NS
+       }
        [CCode (cheader_filename = "gio/gio.h", cprefix = "G_RESOURCE_FLAGS_")]
        [Flags]
        public enum ResourceFlags {
@@ -3053,6 +3097,11 @@ namespace GLib {
                DATAGRAM,
                SEQPACKET
        }
+       [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TEST_DBUS_")]
+       [Flags]
+       public enum TestDBusFlags {
+               NONE
+       }
        [CCode (cheader_filename = "gio/gio.h", cprefix = "G_TLS_AUTHENTICATION_")]
        public enum TlsAuthenticationMode {
                NONE,
@@ -3745,6 +3794,12 @@ namespace GLib {
        [CCode (cheader_filename = "gio/gio.h", cname = "g_tls_error_quark")]
        [Deprecated (replacement = "TlsError.quark", since = "vala-0.16")]
        public static GLib.Quark g_tls_error_quark ();
+       [CCode (cheader_filename = "gio/gio.h")]
+       public static ssize_t pollable_stream_read (GLib.InputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize", type = "void*")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
+       [CCode (cheader_filename = "gio/gio.h")]
+       public static ssize_t pollable_stream_write (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
+       [CCode (cheader_filename = "gio/gio.h")]
+       public static bool pollable_stream_write_all (GLib.OutputStream stream, [CCode (array_length_cname = "count", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
        [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gio/gio.h")]
        public static string[] resources_enumerate_children (string path, GLib.ResourceLookupFlags lookup_flags) throws GLib.Error;
        [CCode (cheader_filename = "gio/gio.h")]
index ed38984b48a95263a6064355ca5ab5d3caecb0f8..f839677041ac6c45d11b8cb44d3bf3bb182f788c 100644 (file)
@@ -235,7 +235,10 @@ namespace Json {
                NO_ARRAY,
                INVALID_INDEX,
                NO_OBJECT,
-               INVALID_MEMBER
+               INVALID_MEMBER,
+               INVALID_NODE,
+               NO_VALUE,
+               INVALID_TYPE
        }
        [CCode (cheader_filename = "json-glib/json-glib.h", instance_pos = 3.9)]
        public delegate void ArrayForeach (Json.Array array, uint index_, Json.Node element_node);
index 2df388f411cf04e423d2166903ba3fd758446da6..f9d064c40791a655897ba1d61c3615e775519995 100644 (file)
@@ -67,6 +67,8 @@ namespace GData {
                public const string DOC;
                [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_HTML")]
                public const string HTML;
+               [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_JPEG")]
+               public const string JPEG;
                [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_ODT")]
                public const string ODT;
                [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_DOCUMENTS_TEXT_PDF")]
@@ -492,9 +494,9 @@ namespace GData {
                public async void query_groups_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
        }
        [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_document_get_type ()")]
-       public abstract class DocumentsDocument : GData.DocumentsEntry, GData.AccessHandler {
+       public class DocumentsDocument : GData.DocumentsEntry, GData.AccessHandler {
                [CCode (has_construct_function = false)]
-               protected DocumentsDocument ();
+               public DocumentsDocument (string? id);
                public GData.DownloadStream download (GData.DocumentsService service, string export_format, GLib.Cancellable? cancellable) throws GLib.Error;
                public string get_download_uri (string export_format);
        }
@@ -508,6 +510,7 @@ namespace GData {
                public unowned GData.Author get_last_modified_by ();
                public int64 get_last_viewed ();
                public string get_path ();
+               public int64 get_quota_used ();
                public unowned string get_resource_id ();
                public void set_writers_can_invite (bool writers_can_invite);
                [Deprecated (since = "This a substring of the #GDataDocumentsEntry:resource-id, which is more general and should be used instead. (Since")]
@@ -517,6 +520,7 @@ namespace GData {
                public bool is_deleted { get; set; }
                public GData.Author last_modified_by { get; }
                public int64 last_viewed { get; }
+               public int64 quota_used { get; }
                public string resource_id { get; }
                [NoAccessorMethod]
                public bool writers_can_invite { get; set; }
@@ -578,7 +582,9 @@ namespace GData {
                public GData.DocumentsEntry remove_entry_from_folder (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
                public async GData.DocumentsEntry remove_entry_from_folder_async (GData.DocumentsEntry entry, GData.DocumentsFolder folder, GLib.Cancellable? cancellable) throws GLib.Error;
                public GData.UploadStream update_document (GData.DocumentsDocument document, string slug, string content_type, GLib.Cancellable? cancellable) throws GLib.Error;
+               public GData.UploadStream update_document_resumable (GData.DocumentsDocument document, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable) throws GLib.Error;
                public GData.UploadStream upload_document (GData.DocumentsDocument? document, string slug, string content_type, GData.DocumentsFolder? folder, GLib.Cancellable? cancellable) throws GLib.Error;
+               public GData.UploadStream upload_document_resumable (GData.DocumentsDocument? document, string slug, string content_type, int64 content_length, GData.DocumentsUploadQuery? query, GLib.Cancellable? cancellable) throws GLib.Error;
        }
        [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_spreadsheet_get_type ()")]
        public class DocumentsSpreadsheet : GData.DocumentsDocument, GData.AccessHandler {
@@ -591,6 +597,18 @@ namespace GData {
                [CCode (has_construct_function = false)]
                public DocumentsText (string? id);
        }
+       [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_upload_query_get_type ()")]
+       public class DocumentsUploadQuery : GLib.Object {
+               [CCode (has_construct_function = false)]
+               public DocumentsUploadQuery ();
+               public string build_uri ();
+               public bool get_convert ();
+               public unowned GData.DocumentsFolder get_folder ();
+               public void set_convert (bool convert);
+               public void set_folder (GData.DocumentsFolder? folder);
+               public bool convert { get; set; }
+               public GData.DocumentsFolder folder { get; set; }
+       }
        [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_download_stream_get_type ()")]
        public class DownloadStream : GLib.InputStream, GLib.Seekable {
                [CCode (has_construct_function = false, type = "GInputStream*")]
@@ -1422,6 +1440,7 @@ namespace GData {
                public UploadStream (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, GLib.Cancellable? cancellable);
                public unowned GData.AuthorizationDomain get_authorization_domain ();
                public unowned GLib.Cancellable get_cancellable ();
+               public int64 get_content_length ();
                public unowned string get_content_type ();
                public unowned GData.Entry get_entry ();
                public unowned string get_method ();
@@ -1429,8 +1448,11 @@ namespace GData {
                public unowned GData.Service get_service ();
                public unowned string get_slug ();
                public unowned string get_upload_uri ();
+               [CCode (has_construct_function = false, type = "GOutputStream*")]
+               public UploadStream.resumable (GData.Service service, GData.AuthorizationDomain? domain, string method, string upload_uri, GData.Entry? entry, string slug, string content_type, int64 content_length, GLib.Cancellable? cancellable);
                public GData.AuthorizationDomain authorization_domain { get; construct; }
                public GLib.Cancellable cancellable { get; construct; }
+               public int64 content_length { get; construct; }
                public string content_type { get; construct; }
                public GData.Entry entry { get; construct; }
                public string method { get; construct; }
@@ -2034,6 +2056,10 @@ namespace GData {
        public const string LINK_ENCLOSURE;
        [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RELATED")]
        public const string LINK_RELATED;
+       [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RESUMABLE_CREATE_MEDIA")]
+       public const string LINK_RESUMABLE_CREATE_MEDIA;
+       [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_RESUMABLE_EDIT_MEDIA")]
+       public const string LINK_RESUMABLE_EDIT_MEDIA;
        [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_SELF")]
        public const string LINK_SELF;
        [CCode (cheader_filename = "gdata/gdata.h", cname = "GDATA_LINK_VIA")]
index 76c2b8a2411d515224c657b5a01cc24514764c4d..8ae0d4bfd25b6b77e08e83b5becce542d68dcbb3 100644 (file)
@@ -113,7 +113,7 @@ namespace Soup {
                public virtual GLib.SList<string> get_protection_space (Soup.URI source_uri);
                public unowned string get_realm ();
                public unowned string get_scheme_name ();
-               public virtual bool update (Soup.Message msg, GLib.HashTable<void*,void*> auth_params);
+               public virtual bool update (Soup.Message msg, GLib.HashTable<void*,void*> auth_header);
                public string host { get; construct; }
                [NoAccessorMethod]
                public virtual bool is_authenticated { get; }
@@ -197,6 +197,7 @@ namespace Soup {
                public Buffer (Soup.MemoryUse use, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize", type = "gconstpointer")] uint8[] data);
                public Soup.Buffer copy ();
                public void free ();
+               public GLib.Bytes get_as_bytes ();
                public void get_data ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] out unowned uint8[] data);
                public void* get_owner ();
                [CCode (has_construct_function = false)]
@@ -210,6 +211,23 @@ namespace Soup {
        [Compact]
        public class ByteArray {
        }
+       [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_cache_get_type ()")]
+       public class Cache : GLib.Object, Soup.SessionFeature {
+               [CCode (has_construct_function = false)]
+               public Cache (string cache_dir, Soup.CacheType cache_type);
+               public void clear ();
+               public void dump ();
+               public void flush ();
+               [NoWrapper]
+               public virtual Soup.Cacheability get_cacheability (Soup.Message msg);
+               public uint get_max_size ();
+               public void load ();
+               public void set_max_size (uint max_size);
+               [NoAccessorMethod]
+               public string cache_dir { owned get; construct; }
+               [NoAccessorMethod]
+               public Soup.CacheType cache_type { get; construct; }
+       }
        [CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_client_context_get_type ()")]
        [Compact]
        public class ClientContext {
@@ -494,6 +512,45 @@ namespace Soup {
                [NoAccessorMethod]
                public GLib.ProxyResolver gproxy_resolver { set; }
        }
+       [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_request_get_type ()")]
+       public class Request : GLib.Object, GLib.Initable {
+               [CCode (has_construct_function = false)]
+               protected Request ();
+               [NoWrapper]
+               public virtual bool check_uri (Soup.URI uri) throws GLib.Error;
+               public virtual int64 get_content_length ();
+               public virtual unowned string get_content_type ();
+               public unowned Soup.Session get_session ();
+               public unowned Soup.URI get_uri ();
+               public virtual GLib.InputStream send (GLib.Cancellable? cancellable) throws GLib.Error;
+               public virtual async GLib.InputStream send_async (GLib.Cancellable? cancellable) throws GLib.Error;
+               public Soup.Session session { get; construct; }
+               public Soup.URI uri { get; construct; }
+       }
+       [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_request_data_get_type ()")]
+       public class RequestData : Soup.Request, GLib.Initable {
+               [CCode (has_construct_function = false)]
+               protected RequestData ();
+       }
+       [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_request_file_get_type ()")]
+       public class RequestFile : Soup.Request, GLib.Initable {
+               [CCode (has_construct_function = false)]
+               protected RequestFile ();
+               public GLib.File get_file ();
+       }
+       [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_request_http_get_type ()")]
+       public class RequestHTTP : Soup.Request, GLib.Initable {
+               [CCode (has_construct_function = false)]
+               protected RequestHTTP ();
+               public Soup.Message get_message ();
+       }
+       [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_requester_get_type ()")]
+       public class Requester : GLib.Object, Soup.SessionFeature {
+               [CCode (has_construct_function = false)]
+               public Requester ();
+               public Soup.Request request (string uri_string) throws GLib.Error;
+               public Soup.Request request_uri (Soup.URI uri) throws GLib.Error;
+       }
        [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_server_get_type ()")]
        public class Server : GLib.Object {
                [CCode (has_construct_function = false)]
@@ -914,11 +971,6 @@ namespace Soup {
                RESPONSE,
                MULTIPART
        }
-       [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUESTER_ERROR_")]
-       public enum RequesterError {
-               BAD_URI,
-               UNSUPPORTED_URI_SCHEME
-       }
        [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_SOCKET_")]
        public enum SocketIOStatus {
                OK,
@@ -926,6 +978,12 @@ namespace Soup {
                EOF,
                ERROR
        }
+       [CCode (cheader_filename = "libsoup/soup.h", cprefix = "SOUP_REQUESTER_ERROR_")]
+       public errordomain RequesterError {
+               BAD_URI,
+               UNSUPPORTED_URI_SCHEME;
+               public static GLib.Quark quark ();
+       }
        [CCode (cheader_filename = "libsoup/soup.h")]
        public errordomain SSLError {
                HANDSHAKE_NEEDS_READ,
index 3c89394c6d054cd36b7ecec29845805986b4eff5..6b005c8438a0b7a9c4ca575909a5c942cafe813d 100644 (file)
@@ -44,6 +44,7 @@ namespace Wnck {
                public unowned string get_id ();
                public unowned Gdk.Pixbuf get_mini_icon ();
                public unowned string get_name ();
+               [Deprecated (since = "3.2")]
                public unowned string get_res_class ();
                public unowned GLib.List<Wnck.Window> get_windows ();
                public virtual signal void icon_changed ();
@@ -366,4 +367,6 @@ namespace Wnck {
        }
        [CCode (cheader_filename = "libwnck/libwnck.h")]
        public static void set_client_type (Wnck.ClientType ewmh_sourceindication_client_type);
+       [CCode (cheader_filename = "libwnck/libwnck.h")]
+       public static void shutdown ();
 }
index ac3a3beb86407a5a005ebe4a3c913c43a5587857..638405800b3ff924853a8eb328de2aaecfc24ae8 100644 (file)
@@ -99,6 +99,8 @@ namespace GLib {
        public class PollableSource : GLib.Source {
                [CCode (type = "GSource*")]
                public PollableSource (GLib.Object pollable_stream);
+               [CCode (type = "GSource*")]
+               public PollableSource.full (GLib.Object pollable_stream, GLib.Source? child_source, GLib.Cancellable? cancellable = null);
                [CCode (cname = "g_source_set_callback")]
                public void set_callback ([CCode (type = "GSourceFunc")] owned PollableSourceFunc func);
        }
index c4200351b27b7a50391c362fadec1e1bb2648444..8ab9d691666a5f63f482bf440f34449425498e8b 100644 (file)
@@ -235,6 +235,9 @@ TlsServerConnection
 DBusError errordomain
 DBusSubtreeEnumerateFunc unowned=false skip=false
 ReallocFunc skip=false
+pollable_source_new_full skip
+pollable_stream_read
+  .buffer type="uint8[]" array_length_idx=2
 
 
 content_types_get_registered parent="GLib.ContentType" name="list_registered"
index 189378c264cfe1cc0973b8904a8f82794ef06d60..e2c1602ca62fe55f408dc9929c2c99736d86df8c 100644 (file)
@@ -169,8 +169,6 @@ namespace Mx {
                public void set_orientation (Mx.Orientation orientation);
                public void set_scroll_to_focused (bool scroll_to_focused);
                public void set_spacing (uint spacing);
-               [CCode (has_construct_function = false, type = "ClutterActor*")]
-               public BoxLayout.with_orientation (Mx.Orientation orientation);
                public bool enable_animations { get; set; }
                public Mx.Orientation orientation { get; set; }
                public bool scroll_to_focused { get; set; }
@@ -270,7 +268,7 @@ namespace Mx {
                public void set_text (string text);
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_combo_box_get_type ()")]
-       public class ComboBox : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
+       public class ComboBox : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public ComboBox ();
                public void append_text (string text);
@@ -290,7 +288,7 @@ namespace Mx {
                public int index { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_bow_tie_get_type ()")]
-       public class DeformBowTie : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class DeformBowTie : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public DeformBowTie ();
                public bool get_flip_back ();
@@ -301,7 +299,7 @@ namespace Mx {
                public double period { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_page_turn_get_type ()")]
-       public class DeformPageTurn : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class DeformPageTurn : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public DeformPageTurn ();
                public double get_angle ();
@@ -315,7 +313,7 @@ namespace Mx {
                public double radius { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_texture_get_type ()")]
-       public abstract class DeformTexture : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public abstract class DeformTexture : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false)]
                protected DeformTexture ();
                [NoWrapper]
@@ -335,7 +333,7 @@ namespace Mx {
                public int tiles_y { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_waves_get_type ()")]
-       public class DeformWaves : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class DeformWaves : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public DeformWaves ();
                public double get_amplitude ();
@@ -361,7 +359,7 @@ namespace Mx {
                public void set_transient_parent (Clutter.Actor actor);
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_entry_get_type ()")]
-       public class Entry : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
+       public class Entry : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Entry ();
                public unowned Clutter.Actor get_clutter_text ();
@@ -434,7 +432,7 @@ namespace Mx {
                public bool freeze_update { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_floating_widget_get_type ()")]
-       public abstract class FloatingWidget : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public abstract class FloatingWidget : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false)]
                protected FloatingWidget ();
                [NoWrapper]
@@ -493,7 +491,7 @@ namespace Mx {
                public float row_spacing { get; set construct; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_icon_get_type ()")]
-       public class Icon : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class Icon : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Icon ();
                public unowned string get_icon_name ();
@@ -518,7 +516,7 @@ namespace Mx {
                public string theme_name { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_image_get_type ()")]
-       public class Image : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class Image : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Image ();
                public void animate_scale_mode (ulong mode, uint duration, Mx.ImageScaleMode scale_mode);
@@ -606,7 +604,7 @@ namespace Mx {
                public bool use_captured { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_label_get_type ()")]
-       public class Label : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class Label : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Label ();
                public unowned Clutter.Actor get_clutter_text ();
@@ -653,7 +651,7 @@ namespace Mx {
                public Clutter.Model model { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_menu_get_type ()")]
-       public class Menu : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
+       public class Menu : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Menu ();
                public void add_action (Mx.Action action);
@@ -701,7 +699,7 @@ namespace Mx {
                public bool redirect_enabled { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_path_bar_get_type ()")]
-       public class PathBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
+       public class PathBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public PathBar ();
                public void clear ();
@@ -723,7 +721,7 @@ namespace Mx {
                public int level { get; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_progress_bar_get_type ()")]
-       public class ProgressBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class ProgressBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public ProgressBar ();
                public double get_progress ();
@@ -781,7 +779,7 @@ namespace Mx {
        public class SettingsProvider {
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_slider_get_type ()")]
-       public class Slider : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
+       public class Slider : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Slider ();
                public double get_buffer_value ();
@@ -792,7 +790,7 @@ namespace Mx {
                public double value { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_spinner_get_type ()")]
-       public class Spinner : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class Spinner : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Spinner ();
                public bool get_animating ();
@@ -970,7 +968,7 @@ namespace Mx {
                public virtual void loaded (string uri, Clutter.Texture texture);
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_texture_frame_get_type ()")]
-       public class TextureFrame : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable {
+       public class TextureFrame : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public TextureFrame (Clutter.Texture texture, float top, float right, float bottom, float left);
                public void get_border_values (float top, float right, float bottom, float left);
@@ -988,7 +986,7 @@ namespace Mx {
                public float top { get; set construct; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_toggle_get_type ()")]
-       public class Toggle : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class Toggle : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false, type = "ClutterActor*")]
                public Toggle ();
                public bool get_active ();
@@ -1005,7 +1003,7 @@ namespace Mx {
                public virtual signal bool close_button_clicked ();
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_tooltip_get_type ()")]
-       public class Tooltip : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public class Tooltip : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false)]
                protected Tooltip ();
                public unowned string get_text ();
@@ -1036,7 +1034,7 @@ namespace Mx {
                public float z_origin { get; set; }
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_widget_get_type ()")]
-       public abstract class Widget : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Mx.Stylable {
+       public abstract class Widget : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
                [CCode (has_construct_function = false)]
                protected Widget ();
                public virtual void apply_style (Mx.Style style);