diff options
author | Evan Nemerson <evan@coeus-group.com> | 2010-11-20 19:04:11 -0800 |
---|---|---|
committer | Evan Nemerson <evan@coeus-group.com> | 2010-11-20 19:04:11 -0800 |
commit | dc5a3548b255ecbc625c71ec49701c8ee198a926 (patch) | |
tree | 7b4fa67864570aba389d1466568ef8e7b62e0508 | |
parent | b05d85df151c078a9af015635a54cae07caa00cb (diff) | |
download | vala-dc5a3548b255ecbc625c71ec49701c8ee198a926.tar.gz |
Regenerate several bindings to account changes to vapigen and libvala
Regenerated gdl-1.0, gstreamer-app-0.10, gstreamer-cdda-0.10,
gstreamer-controller-0.10, gudev-1.0, hildon-1, libgda-report-4.0
purple rest-extras-0.6 unique-1.0.
-rw-r--r-- | vapi/gdl-1.0.vapi | 4 | ||||
-rw-r--r-- | vapi/gstreamer-app-0.10.vapi | 4 | ||||
-rw-r--r-- | vapi/gstreamer-cdda-0.10.vapi | 2 | ||||
-rw-r--r-- | vapi/gstreamer-controller-0.10.vapi | 2 | ||||
-rw-r--r-- | vapi/gudev-1.0.vapi | 2 | ||||
-rw-r--r-- | vapi/hildon-1.vapi | 10 | ||||
-rw-r--r-- | vapi/libgda-report-4.0.vapi | 2 | ||||
-rw-r--r-- | vapi/purple.vapi | 20 | ||||
-rw-r--r-- | vapi/rest-extras-0.6.vapi | 6 | ||||
-rw-r--r-- | vapi/unique-1.0.vapi | 2 |
10 files changed, 40 insertions, 14 deletions
diff --git a/vapi/gdl-1.0.vapi b/vapi/gdl-1.0.vapi index 767d689fd..25b2813b6 100644 --- a/vapi/gdl-1.0.vapi +++ b/vapi/gdl-1.0.vapi @@ -124,6 +124,8 @@ namespace Gdl { public int dock_number; public weak GLib.HashTable dock_objects; public weak GLib.List toplevel_docks; + [CCode (has_construct_function = false)] + protected DockMaster (); public void add (Gdl.DockObject object); public void @foreach (GLib.Func function); public void foreach_toplevel (bool include_controller, GLib.Func function); @@ -144,6 +146,8 @@ namespace Gdl { public Gdl.DockObjectFlags flags; public int freeze_count; public bool reduce_pending; + [CCode (has_construct_function = false)] + protected DockObject (); public void bind (GLib.Object master); public virtual bool child_placement (Gdl.DockObject child, Gdl.DockPlacement placement); public void detach (bool recursive); diff --git a/vapi/gstreamer-app-0.10.vapi b/vapi/gstreamer-app-0.10.vapi index 1f3e1098d..3e2a25017 100644 --- a/vapi/gstreamer-app-0.10.vapi +++ b/vapi/gstreamer-app-0.10.vapi @@ -4,6 +4,8 @@ namespace Gst { [CCode (cheader_filename = "gst/app/gstappsink.h")] public class AppSink : Gst.BaseSink, Gst.URIHandler { + [CCode (has_construct_function = false)] + protected AppSink (); public bool is_eos (); public Gst.Buffer pull_buffer (); public Gst.BufferList pull_buffer_list (); @@ -28,6 +30,8 @@ namespace Gst { } [CCode (cheader_filename = "gst/app/gstappsrc.h")] public class AppSrc : Gst.BaseSrc, Gst.URIHandler { + [CCode (has_construct_function = false)] + protected AppSrc (); public Gst.FlowReturn end_of_stream (); public Gst.FlowReturn push_buffer (owned Gst.Buffer buffer); public void set_callbacks (Gst.AppSrcCallbacks callbacks, GLib.DestroyNotify notify); diff --git a/vapi/gstreamer-cdda-0.10.vapi b/vapi/gstreamer-cdda-0.10.vapi index a0621dcdd..1e9c690e0 100644 --- a/vapi/gstreamer-cdda-0.10.vapi +++ b/vapi/gstreamer-cdda-0.10.vapi @@ -21,6 +21,8 @@ namespace Gst { public weak Gst.CddaBaseSrcTrack tracks; public weak string uri; public int uri_track; + [CCode (has_construct_function = false)] + protected CddaBaseSrc (); public bool add_track (Gst.CddaBaseSrcTrack track); [NoWrapper] public virtual void close (); diff --git a/vapi/gstreamer-controller-0.10.vapi b/vapi/gstreamer-controller-0.10.vapi index 5763d1d4e..bb905cd92 100644 --- a/vapi/gstreamer-controller-0.10.vapi +++ b/vapi/gstreamer-controller-0.10.vapi @@ -5,6 +5,8 @@ namespace Gst { [CCode (cheader_filename = "gst/controller/gstcontroller.h")] public class ControlSource : GLib.Object { public bool bound; + [CCode (has_construct_function = false)] + protected ControlSource (); public bool bind (GLib.ParamSpec pspec); public bool get_value (Gst.ClockTime timestamp, Gst.Value value); public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array); diff --git a/vapi/gudev-1.0.vapi b/vapi/gudev-1.0.vapi index e176eae24..9fa975ef0 100644 --- a/vapi/gudev-1.0.vapi +++ b/vapi/gudev-1.0.vapi @@ -34,6 +34,8 @@ namespace GUdev { } [CCode (cheader_filename = "gudev/gudev.h")] public class Device : GLib.Object { + [CCode (has_construct_function = false)] + protected Device (); public unowned string get_action (); public unowned string? get_device_file (); [CCode (array_length = false)] diff --git a/vapi/hildon-1.vapi b/vapi/hildon-1.vapi index f9cfd207b..ae4fc0e4a 100644 --- a/vapi/hildon-1.vapi +++ b/vapi/hildon-1.vapi @@ -36,6 +36,8 @@ namespace Hildon { } [CCode (cheader_filename = "hildon/hildon.h")] public class Banner : Gtk.Window, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false)] + protected Banner (); public void set_fraction (double fraction); public void set_icon (string icon_name); public void set_icon_from_file (string icon_file); @@ -468,6 +470,8 @@ namespace Hildon { } [CCode (cheader_filename = "hildon/hildon.h")] public class Note : Gtk.Dialog, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false)] + protected Note (); [CCode (type = "GtkWidget*", has_construct_function = false)] public Note.cancel_with_progress_bar (Gtk.Window parent, string description, Gtk.ProgressBar progressbar); [CCode (type = "GtkWidget*", has_construct_function = false)] @@ -600,6 +604,8 @@ namespace Hildon { } [CCode (cheader_filename = "hildon/hildon.h")] public class Program : GLib.Object { + [CCode (has_construct_function = false)] + protected Program (); public void add_window (Hildon.Window window); public bool get_can_hibernate (); public unowned Hildon.AppMenu get_common_app_menu (); @@ -821,6 +827,8 @@ namespace Hildon { } [CCode (cheader_filename = "hildon/hildon.h")] public class TouchSelectorColumn : GLib.Object, Gtk.CellLayout { + [CCode (has_construct_function = false)] + protected TouchSelectorColumn (); public int get_text_column (); public void set_text_column (int text_column); public int text_column { get; set; } @@ -845,6 +853,8 @@ namespace Hildon { } [CCode (cheader_filename = "hildon/hildon.h")] public class Volumebar : Gtk.Container, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false)] + protected Volumebar (); public unowned Gtk.Adjustment get_adjustment (); public double get_level (); public bool get_mute (); diff --git a/vapi/libgda-report-4.0.vapi b/vapi/libgda-report-4.0.vapi index bb5739d39..165d433f8 100644 --- a/vapi/libgda-report-4.0.vapi +++ b/vapi/libgda-report-4.0.vapi @@ -17,6 +17,8 @@ namespace Gda { } [CCode (cheader_filename = "libgda-report/libgda-report.h")] public class ReportDocument : GLib.Object { + [CCode (has_construct_function = false)] + protected ReportDocument (); public virtual bool run_as_html (string filename) throws GLib.Error; public virtual bool run_as_pdf (string filename) throws GLib.Error; public void set_template (string file); diff --git a/vapi/purple.vapi b/vapi/purple.vapi index a627d452e..63748d580 100644 --- a/vapi/purple.vapi +++ b/vapi/purple.vapi @@ -146,14 +146,14 @@ namespace Purple { [CCode (free_function = "purple_account_user_split_destroy", cheader_filename = "purple.h")] public class AccountUserSplit { public weak string default_value; - public weak DBus.ObjectPath field_sep; + public weak GLib.ObjectPath field_sep; public bool reverse; public weak string text; [CCode (has_construct_function = false)] - public AccountUserSplit (string text, string default_value, DBus.ObjectPath sep); + public AccountUserSplit (string text, string default_value, GLib.ObjectPath sep); public unowned string get_default_value (); public bool get_reverse (); - public unowned DBus.ObjectPath get_separator (); + public unowned GLib.ObjectPath get_separator (); public unowned string get_text (); public void set_reverse (bool reverse); } @@ -1732,7 +1732,7 @@ namespace Purple { [CCode (cheader_filename = "purple.h")] public class SrvResponse { [CCode (array_length = false)] - public weak DBus.ObjectPath[] hostname; + public weak GLib.ObjectPath[] hostname; public int port; public int pref; public int weight; @@ -1848,7 +1848,7 @@ namespace Purple { public class StunNatDiscovery { public ulong lookup_time; [CCode (array_length = false)] - public weak DBus.ObjectPath[] publicip; + public weak GLib.ObjectPath[] publicip; public weak string servername; public Purple.StunStatus status; public Purple.StunNatType type; @@ -1935,7 +1935,7 @@ namespace Purple { public unowned Purple.Value dup (); public bool get_boolean (); public void* get_boxed (); - public unowned DBus.ObjectPath get_char (); + public unowned GLib.ObjectPath get_char (); public int get_enum (); public int get_int (); public int64 get_int64 (); @@ -1956,7 +1956,7 @@ namespace Purple { public Value.outgoing (Purple.Type type); public void set_boolean (bool data); public void set_boxed (void* data); - public void set_char (DBus.ObjectPath data); + public void set_char (GLib.ObjectPath data); public void set_enum (int data); public void set_int (int data); public void set_int64 (int64 data); @@ -3340,7 +3340,7 @@ namespace Purple { [CCode (cheader_filename = "purple.h")] public static unowned string markup_escape_text (string text, ssize_t length); [CCode (cheader_filename = "purple.h")] - public static bool markup_extract_info_field (string str, int len, Purple.NotifyUserInfo user_info, string start_token, int skip, string end_token, DBus.ObjectPath check_value, string no_value_token, string display_name, bool is_link, string link_prefix, Purple.InfoFieldFormatCallback format_cb); + public static bool markup_extract_info_field (string str, int len, Purple.NotifyUserInfo user_info, string start_token, int skip, string end_token, GLib.ObjectPath check_value, string no_value_token, string display_name, bool is_link, string link_prefix, Purple.InfoFieldFormatCallback format_cb); [CCode (cheader_filename = "purple.h")] public static bool markup_find_tag (string needle, string haystack, out string start, out string end, out GLib.Datalist attributes); [CCode (cheader_filename = "purple.h")] @@ -3962,7 +3962,7 @@ namespace Purple { [CCode (cheader_filename = "purple.h")] public static unowned string str_size_to_units (size_t size); [CCode (cheader_filename = "purple.h")] - public static void str_strip_char (string str, DBus.ObjectPath thechar); + public static void str_strip_char (string str, GLib.ObjectPath thechar); [CCode (cheader_filename = "purple.h")] public static ulong str_to_time (string timestamp, bool utc, void* tm, long tz_off, out unowned string rest); [CCode (cheader_filename = "purple.h")] @@ -4040,7 +4040,7 @@ namespace Purple { [CCode (cheader_filename = "purple.h")] public static unowned string utf8_try_convert (string str); [CCode (cheader_filename = "purple.h")] - public static void util_chrreplace (string str, DBus.ObjectPath delimiter, DBus.ObjectPath replacement); + public static void util_chrreplace (string str, GLib.ObjectPath delimiter, GLib.ObjectPath replacement); [CCode (cheader_filename = "purple.h")] public static void util_fetch_url_cancel (Purple.UtilFetchUrlData url_data); [CCode (cheader_filename = "purple.h")] diff --git a/vapi/rest-extras-0.6.vapi b/vapi/rest-extras-0.6.vapi index 3166f6afe..8a7d2f54d 100644 --- a/vapi/rest-extras-0.6.vapi +++ b/vapi/rest-extras-0.6.vapi @@ -25,8 +25,7 @@ namespace Rest { [CCode (cname = "facebook_proxy_new_with_session", type = "RestProxy*", has_construct_function = false)] public FacebookProxy.with_session (string api_key, string app_secret, string session_key); } - [Compact] - [CCode (free_function = "rest_proxy_call_free", cname = "FacebookProxyCall", cheader_filename = "rest-extras/facebook-proxy-call.h")] + [CCode (cname = "FacebookProxyCall", cheader_filename = "rest-extras/facebook-proxy-call.h")] public class FacebookProxyCall : Rest.ProxyCall { } [CCode (cname = "FlickrProxy", cheader_filename = "rest-extras/flickr-proxy.h")] @@ -50,8 +49,7 @@ namespace Rest { [CCode (cname = "flickr_proxy_new_with_token", type = "RestProxy*", has_construct_function = false)] public FlickrProxy.with_token (string api_key, string shared_secret, string token); } - [Compact] - [CCode (free_function = "rest_proxy_call_free", cname = "FlickrProxyCall", cheader_filename = "rest-extras/flickr-proxy-call.h")] + [CCode (cname = "FlickrProxyCall", cheader_filename = "rest-extras/flickr-proxy-call.h")] public class FlickrProxyCall : Rest.ProxyCall { } } diff --git a/vapi/unique-1.0.vapi b/vapi/unique-1.0.vapi index 1e0eace6c..fa3c44cb1 100644 --- a/vapi/unique-1.0.vapi +++ b/vapi/unique-1.0.vapi @@ -28,6 +28,8 @@ namespace Unique { public weak Gdk.Screen screen; public weak string startup_id; public uint workspace; + [CCode (has_construct_function = false)] + protected Backend (); public static unowned Unique.Backend create (); public unowned string get_name (); public unowned Gdk.Screen get_screen (); |