[Xfce4-commits] <xfce4-vala:master> Update Vapi files

Mike Massonnet noreply at xfce.org
Sat Oct 20 02:32:02 CEST 2012


Updating branch refs/heads/master
         to bb2bb424323c0399c9a7f3057c91b86abc7ff81e (commit)
       from b1b13aeb6c279221fd5bcaa01810e4364e270079 (commit)

commit bb2bb424323c0399c9a7f3057c91b86abc7ff81e
Author: Mike Massonnet <mmassonnet at gmail.com>
Date:   Wed Oct 17 02:36:12 2012 +0200

    Update Vapi files

 vapi/exo-1.vapi             |   58 +++++++++++++++++++++++-------------------
 vapi/libxfce4panel-1.0.vapi |   11 +++----
 vapi/libxfce4ui-1.vapi      |   15 +++++------
 vapi/libxfce4util-1.0.vapi  |   18 ++++++-------
 vapi/libxfconf-0.vapi       |   15 +++++------
 5 files changed, 59 insertions(+), 58 deletions(-)

diff --git a/vapi/exo-1.vapi b/vapi/exo-1.vapi
index 5b233d3..5ab766d 100644
--- a/vapi/exo-1.vapi
+++ b/vapi/exo-1.vapi
@@ -1,9 +1,8 @@
-/* exo-1.vapi generated by vapigen-0.10, do not modify. */
+/* exo-1.vapi generated by vapigen-0.16, do not modify. */
 
-[CCode (cprefix = "Exo", lower_case_cprefix = "exo_")]
 namespace Exo {
+	[CCode (cheader_filename = "exo/exo.h", free_function = "")]
 	[Compact]
-	[CCode (free_function = "", cheader_filename = "exo/exo.h")]
 	public class Binding {
 		[CCode (has_construct_function = false)]
 		public Binding (GLib.Object src_object, string src_property, GLib.Object dst_object, string dst_property);
@@ -15,14 +14,14 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class CellRendererEllipsizedText : Gtk.CellRendererText {
-		[CCode (type = "GtkCellRenderer*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
 		public CellRendererEllipsizedText ();
 		[NoAccessorMethod]
 		public bool follow_state { get; set; }
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class CellRendererIcon : Gtk.CellRenderer {
-		[CCode (type = "GtkCellRenderer*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkCellRenderer*")]
 		public CellRendererIcon ();
 		[NoAccessorMethod]
 		public bool follow_state { get; set construct; }
@@ -33,16 +32,16 @@ namespace Exo {
 		[NoAccessorMethod]
 		public int size { get; set construct; }
 	}
-	[Compact]
 	[CCode (cheader_filename = "exo/exo.h")]
+	[Compact]
 	public class Execute {
 		public static bool preferred_application (string category, string? parameter, string working_directory, string[]? envp) throws GLib.Error;
 		public static bool preferred_application_on_screen (string category, string? parameter, string working_directory, string[]? envp, Gdk.Screen screen) throws GLib.Error;
 		public static bool terminal_shell (string command_line, string? working_directory, string[]? envp) throws GLib.Error;
 		public static bool terminal_shell_on_screen (string command_line, string? working_directory, string[]? envp, Gdk.Screen screen) throws GLib.Error;
 	}
-	[Compact]
 	[CCode (cheader_filename = "exo/exo.h")]
+	[Compact]
 	public class Extensions {
 		public static bool g_value_transform_negate (GLib.Value src_value, GLib.Value dst_value);
 		public static Gdk.Pixbuf gdk_pixbuf_colorize (Gdk.Pixbuf src, Gdk.Color color);
@@ -58,7 +57,7 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class IconBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public IconBar ();
 		public int get_active ();
 		public bool get_active_iter (Gtk.TreeIter iter);
@@ -72,7 +71,7 @@ namespace Exo {
 		public void set_orientation (Gtk.Orientation orientation);
 		public void set_pixbuf_column (int column);
 		public void set_text_column (int column);
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public IconBar.with_model (Gtk.TreeModel model);
 		public int active { get; set; }
 		public Gtk.TreeModel model { get; set; }
@@ -84,14 +83,14 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class IconChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public IconChooserDialog (string title, Gtk.Window parent, ...);
 		public unowned string get_icon ();
 		public bool set_icon (string icon);
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public IconView ();
 		public unowned Gdk.Pixmap create_drag_icon (Gtk.TreePath path);
 		public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
@@ -152,7 +151,7 @@ namespace Exo {
 		public void unset_model_drag_dest ();
 		public void unset_model_drag_source ();
 		public void widget_to_icon_coords (int wx, int wy, int ix, int iy);
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public IconView.with_model (Gtk.TreeModel model);
 		public int column_spacing { get; set; }
 		public int columns { get; set; }
@@ -176,7 +175,9 @@ namespace Exo {
 		[NoAccessorMethod]
 		public int text_column { get; set; }
 		public virtual signal bool activate_cursor_item ();
+		[CCode (cname = "select_all")]
 		public virtual signal void all_selected ();
+		[CCode (cname = "unselect_all")]
 		public virtual signal void all_unselected ();
 		public virtual signal void item_activated (Gtk.TreePath path);
 		public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
@@ -203,11 +204,13 @@ namespace Exo {
 		public bool set_error_if_cancelled () throws GLib.Error;
 		public virtual signal void error (void* error);
 		public virtual signal void finished ();
+		[CCode (cname = "info_message")]
 		public virtual signal void info_message_received (string message);
+		[CCode (cname = "percent")]
 		public virtual signal void percent_progress (double percent);
 	}
+	[CCode (cheader_filename = "exo/exo.h", free_function = "")]
 	[Compact]
-	[CCode (free_function = "", cheader_filename = "exo/exo.h")]
 	public class MutualBinding {
 		[CCode (has_construct_function = false)]
 		public MutualBinding (GLib.Object object1, string property1, GLib.Object object2, string property2);
@@ -223,12 +226,12 @@ namespace Exo {
 		protected SimpleJob ();
 		public static unowned Exo.Job launch (Exo.SimpleJobFunc func, uint n_param_values);
 	}
-	[Compact]
 	[CCode (cheader_filename = "exo/exo.h")]
+	[Compact]
 	public class SimpleJobClass {
 	}
-	[Compact]
 	[CCode (cheader_filename = "exo/exo.h")]
+	[Compact]
 	public class String {
 		[CCode (cname = "exo_strdup_strftime")]
 		public static string dup_strftime (string format, void* tm);
@@ -243,13 +246,13 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class ToolbarsEditor : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public ToolbarsEditor (Gtk.UIManager ui_manager);
 		public unowned Exo.ToolbarsModel get_model ();
 		public unowned Gtk.UIManager get_ui_manager ();
 		public void set_model (Exo.ToolbarsModel model);
 		public void set_ui_manager (Gtk.UIManager ui_manager);
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public ToolbarsEditor.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
 		public Exo.ToolbarsModel model { get; set; }
 		public Gtk.UIManager ui_manager { get; set; }
@@ -258,7 +261,7 @@ namespace Exo {
 	public class ToolbarsEditorDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
 		[CCode (has_construct_function = false)]
 		protected ToolbarsEditorDialog ();
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public ToolbarsEditorDialog.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
@@ -288,9 +291,12 @@ namespace Exo {
 		public unowned string toolbar_nth (int toolbar_position);
 		public void unset_style (int toolbar_position);
 		public virtual signal void item_added (int toolbar_position, int item_position);
+		[CCode (cname = "get_item_data")]
 		public virtual signal unowned string item_data (string type, string id);
+		[CCode (cname = "get_item_id")]
 		public virtual signal unowned string item_id (string type, string data);
 		public virtual signal void item_removed (int toolbar_position, int item_position);
+		[CCode (cname = "get_item_type")]
 		public virtual signal unowned string item_type (void* dnd_type);
 		public virtual signal void toolbar_added (int toolbar_position);
 		public virtual signal void toolbar_changed (int toolbar_position);
@@ -298,7 +304,7 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class ToolbarsView : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public ToolbarsView (Gtk.UIManager ui_manager);
 		public bool get_editing ();
 		public unowned Exo.ToolbarsModel get_model ();
@@ -306,7 +312,7 @@ namespace Exo {
 		public void set_editing (bool editing);
 		public void set_model (Exo.ToolbarsModel model);
 		public void set_ui_manager (Gtk.UIManager ui_manager);
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public ToolbarsView.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
 		public bool editing { get; set; }
 		public Exo.ToolbarsModel model { get; set; }
@@ -316,7 +322,7 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class TreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public TreeView ();
 		public bool get_single_click ();
 		public uint get_single_click_timeout ();
@@ -327,7 +333,7 @@ namespace Exo {
 	}
 	[CCode (cheader_filename = "exo/exo.h")]
 	public class WrapTable : Gtk.Container, Atk.Implementor, Gtk.Buildable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public WrapTable (bool homogeneous);
 		public uint get_col_spacing ();
 		public bool get_homogeneous ();
@@ -350,7 +356,7 @@ namespace Exo {
 		public string[] restart_command { get; set; }
 		public virtual signal void save_yourself ();
 	}
-	[CCode (cprefix = "EXO_ICON_VIEW_", cheader_filename = "exo/exo.h")]
+	[CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_ICON_VIEW_")]
 	public enum IconViewDropPosition {
 		NO_DROP,
 		DROP_INTO,
@@ -359,12 +365,12 @@ namespace Exo {
 		DROP_ABOVE,
 		DROP_BELOW
 	}
-	[CCode (cprefix = "EXO_ICON_VIEW_LAYOUT_", cheader_filename = "exo/exo.h")]
+	[CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_ICON_VIEW_LAYOUT_")]
 	public enum IconViewLayoutMode {
 		ROWS,
 		COLS
 	}
-	[CCode (cprefix = "EXO_TOOLBARS_MODEL_", cheader_filename = "exo/exo.h")]
+	[CCode (cheader_filename = "exo/exo.h", cprefix = "EXO_TOOLBARS_MODEL_")]
 	[Flags]
 	public enum ToolbarsModelFlags {
 		NOT_REMOVABLE,
@@ -380,7 +386,7 @@ namespace Exo {
 	[CCode (cheader_filename = "exo/exo.h")]
 	public delegate void IconViewSearchPositionFunc (Exo.IconView icon_view, Gtk.Widget search_dialog);
 	[CCode (cheader_filename = "exo/exo.h", has_target = false)]
-	public delegate bool SimpleJobFunc (Exo.Job job, GLib.ValueArray param_values, GLib.Error error);
+	public delegate bool SimpleJobFunc (Exo.Job job, GLib.ValueArray param_values) throws GLib.Error;
 	[CCode (cheader_filename = "exo/exo.h")]
 	public const string TOOLBARS_ITEM_TYPE;
 }
diff --git a/vapi/libxfce4panel-1.0.vapi b/vapi/libxfce4panel-1.0.vapi
index bccf44b..47463b8 100644
--- a/vapi/libxfce4panel-1.0.vapi
+++ b/vapi/libxfce4panel-1.0.vapi
@@ -1,10 +1,9 @@
-/* libxfce4panel-1.0.vapi generated by vapigen-0.10, do not modify. */
+/* libxfce4panel-1.0.vapi generated by vapigen-0.16, do not modify. */
 
-[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")]
 namespace Xfce {
 	[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
 	public class ArrowButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public ArrowButton (Gtk.ArrowType arrow_type);
 		public Gtk.ArrowType get_arrow_type ();
 		public bool get_blinking ();
@@ -16,7 +15,7 @@ namespace Xfce {
 	[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
 	public class HVBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
 		public Gtk.Orientation orientation;
-		[CCode (cname = "xfce_hvbox_new", type = "GtkWidget*", has_construct_function = false)]
+		[CCode (cname = "xfce_hvbox_new", has_construct_function = false, type = "GtkWidget*")]
 		public HVBox (Gtk.Orientation orientation, bool homogeneous, int spacing);
 		[CCode (cname = "xfce_hvbox_get_orientation")]
 		public Gtk.Orientation get_orientation ();
@@ -88,14 +87,14 @@ namespace Xfce {
 		public virtual signal void screen_position_changed (Xfce.ScreenPosition position);
 		public virtual signal bool size_changed (int size);
 	}
-	[Compact]
 	[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
+	[Compact]
 	public class PanelTypeModule {
 	}
 	[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
 	public interface PanelPluginProvider {
 	}
-	[CCode (cprefix = "XFCE_SCREEN_POSITION_", cheader_filename = "libxfce4panel/libxfce4panel.h")]
+	[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", cprefix = "XFCE_SCREEN_POSITION_")]
 	public enum ScreenPosition {
 		NONE,
 		NW_H,
diff --git a/vapi/libxfce4ui-1.vapi b/vapi/libxfce4ui-1.vapi
index 13d704e..b06ae28 100644
--- a/vapi/libxfce4ui-1.vapi
+++ b/vapi/libxfce4ui-1.vapi
@@ -1,6 +1,5 @@
-/* libxfce4ui-1.vapi generated by vapigen-0.10, do not modify. */
+/* libxfce4ui-1.vapi generated by vapigen-0.16, do not modify. */
 
-[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")]
 namespace Xfce {
 	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
 	public class SMClient : GLib.Object {
@@ -47,15 +46,15 @@ namespace Xfce {
 	}
 	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
 	public class TitledDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public TitledDialog ();
 		public unowned string get_subtitle ();
 		public void set_subtitle (string subtitle);
-		[CCode (type = "GtkWidget*", has_construct_function = false)]
+		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public TitledDialog.with_buttons (string title, Gtk.Window parent, Gtk.DialogFlags flags, ...);
 		public string subtitle { get; set; }
 	}
-	[CCode (cprefix = "XFCE_SM_CLIENT_PRIORITY_", has_type_id = false, cheader_filename = "libxfce4ui/libxfce4ui.h")]
+	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_PRIORITY_", has_type_id = false)]
 	public enum SMClientPriority {
 		HIGHEST,
 		WM,
@@ -64,12 +63,12 @@ namespace Xfce {
 		DEFAULT,
 		LOWEST
 	}
-	[CCode (cprefix = "XFCE_SM_CLIENT_RESTART_", has_type_id = false, cheader_filename = "libxfce4ui/libxfce4ui.h")]
+	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_RESTART_", has_type_id = false)]
 	public enum SMClientRestartStyle {
 		NORMAL,
 		IMMEDIATELY
 	}
-	[CCode (cprefix = "XFCE_SM_CLIENT_SHUTDOWN_HINT_", has_type_id = false, cheader_filename = "libxfce4ui/libxfce4ui.h")]
+	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cprefix = "XFCE_SM_CLIENT_SHUTDOWN_HINT_", has_type_id = false)]
 	public enum SMClientShutdownHint {
 		ASK,
 		LOGOUT,
@@ -104,7 +103,7 @@ namespace Xfce {
 	public static unowned Gtk.Widget gtk_frame_box_new_with_content (string label, Gtk.Widget content);
 	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
 	public static void gtk_window_center_on_active_screen (Gtk.Window window);
-	[CCode (cname = "libxfce4ui_check_version", cheader_filename = "libxfce4ui/libxfce4ui.h")]
+	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h", cname = "libxfce4ui_check_version")]
 	public static unowned string libxfce4ui_check_version (uint required_major, uint required_minor, uint required_micro);
 	[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
 	public static int message_dialog (Gtk.Window parent, string title, string stock_id, string primary_text, string secondary_text, ...);
diff --git a/vapi/libxfce4util-1.0.vapi b/vapi/libxfce4util-1.0.vapi
index 778b521..154566d 100644
--- a/vapi/libxfce4util-1.0.vapi
+++ b/vapi/libxfce4util-1.0.vapi
@@ -1,26 +1,24 @@
-/* libxfce4util-1.0.vapi generated by vapigen-0.10, do not modify. */
+/* libxfce4util-1.0.vapi generated by vapigen-0.16, do not modify. */
 
-[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")]
 namespace Xfce {
-	[Compact]
 	[CCode (cheader_filename = "libxfce4util/libxfce4util.h")]
+	[Compact]
 	public class Kiosk {
 		[CCode (has_construct_function = false)]
 		public Kiosk (string module);
 		public bool query (string capability);
 	}
-	[Compact]
 	[CCode (cheader_filename = "libxfce4util/libxfce4util.h")]
+	[Compact]
 	public class PosixSignalHandler {
-		[CCode (cheader_filename = "libxfce4util/libxfce4util.h")]
 		public delegate void Callback (int @signal);
 		public static bool init () throws GLib.Error;
 		public static void restore_handler (int @signal);
 		public static bool set_handler (int @signal, Xfce.PosixSignalHandler.Callback handler) throws GLib.Error;
 		public static void shutdown ();
 	}
+	[CCode (cheader_filename = "libxfce4util/libxfce4util.h", free_function = "xfce_rc_close")]
 	[Compact]
-	[CCode (free_function = "xfce_rc_close", cheader_filename = "libxfce4util/libxfce4util.h")]
 	public class Rc {
 		[CCode (cname = "xfce_rc_simple_open", has_construct_function = false)]
 		public Rc (string filename, bool readonly);
@@ -49,8 +47,8 @@ namespace Xfce {
 		public void write_int_entry (string key, int value);
 		public void write_list_entry (string key, string value, string separator);
 	}
-	[Compact]
 	[CCode (cheader_filename = "libxfce4util/libxfce4util.h")]
+	[Compact]
 	public class Resource {
 		[CCode (array_length = false)]
 		public static string[] dirs (Xfce.ResourceType type);
@@ -61,13 +59,13 @@ namespace Xfce {
 		public static string[] match (Xfce.ResourceType type, string pattern, bool unique);
 		public static unowned string save_location (Xfce.ResourceType type, string relpath, bool create);
 	}
-	[CCode (cprefix = "XFCE_LICENSE_TEXT_", cheader_filename = "libxfce4util/libxfce4util.h")]
+	[CCode (cheader_filename = "libxfce4util/libxfce4util.h", cprefix = "XFCE_LICENSE_TEXT_")]
 	public enum LicenseTextType {
 		BSD,
 		GPL,
 		LGPL
 	}
-	[CCode (cprefix = "XFCE_RESOURCE_", cheader_filename = "libxfce4util/libxfce4util.h")]
+	[CCode (cheader_filename = "libxfce4util/libxfce4util.h", cprefix = "XFCE_RESOURCE_")]
 	public enum ResourceType {
 		DATA,
 		CONFIG,
@@ -77,7 +75,7 @@ namespace Xfce {
 	}
 	[CCode (cheader_filename = "libxfce4util/libxfce4util.h")]
 	public static unowned string get_license_text (Xfce.LicenseTextType license_type);
-	[CCode (cname = "xfce_version_string", cheader_filename = "libxfce4util/libxfce4util.h")]
+	[CCode (cheader_filename = "libxfce4util/libxfce4util.h", cname = "xfce_version_string")]
 	public static unowned string get_version_string ();
 	[CCode (cheader_filename = "libxfce4util/libxfce4util.h")]
 	public static void textdomain (string package, string localedir, string? encoding = null);
diff --git a/vapi/libxfconf-0.vapi b/vapi/libxfconf-0.vapi
index 42694c7..c8163af 100644
--- a/vapi/libxfconf-0.vapi
+++ b/vapi/libxfconf-0.vapi
@@ -1,6 +1,5 @@
-/* libxfconf-0.vapi generated by vapigen-0.10, do not modify. */
+/* libxfconf-0.vapi generated by vapigen-0.16, do not modify. */
 
-[CCode (cprefix = "Xfconf", lower_case_cprefix = "xfconf_")]
 namespace Xfconf {
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
 	public class Channel : GLib.Object {
@@ -30,7 +29,7 @@ namespace Xfconf {
 		public bool set_named_struct (string property, string struct_name, void* value_struct);
 		public bool set_property (string property, GLib.Value value);
 		public bool set_string (string property, string value);
-		public bool set_string_list (string property, [CCode (type = "const gchar* const*", array_length = false)] string[] values);
+		public bool set_string_list (string property, [CCode (array_length = false, type = "const gchar* const*")] string[] values);
 		[CCode (sentinel = "G_TYPE_INVALID")]
 		public bool set_struct (string property, void* value_struct, ...);
 		public bool set_structv (string property, void* value_struct, [CCode (array_length_pos = 2)] GLib.Type[] member_types);
@@ -42,8 +41,8 @@ namespace Xfconf {
 		public bool is_singleton { get; construct; }
 		public virtual signal void property_changed (string p0, GLib.Value p1);
 	}
-	[Compact]
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
+	[Compact]
 	public class Property {
 		[CCode (cname = "xfconf_g_property_bind")]
 		public static ulong bind (Xfconf.Channel channel, string xfconf_property, GLib.Type xfconf_property_type, void* object, string object_property);
@@ -56,7 +55,7 @@ namespace Xfconf {
 		[CCode (cname = "xfconf_g_property_unbind_by_property")]
 		public static void unbind_by_property (Xfconf.Channel channel, string xfconf_property, void* object, string object_property);
 	}
-	[CCode (cprefix = "XFCONF_ERROR_", cheader_filename = "xfconf/xfconf.h")]
+	[CCode (cheader_filename = "xfconf/xfconf.h", cprefix = "XFCONF_ERROR_")]
 	public errordomain Error {
 		UNKNOWN,
 		CHANNEL_NOT_FOUND,
@@ -67,13 +66,13 @@ namespace Xfconf {
 		INTERNAL_ERROR,
 		NO_BACKEND,
 		INVALID_PROPERTY,
-		INVALID_CHANNEL,
+		INVALID_CHANNEL
 	}
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
-	public static void array_free (GLib.GenericArray arr);
+	public static void array_free (GLib.PtrArray arr);
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
 	public static bool init () throws Xfconf.Error;
-	[CCode (cheader_filename = "xfconf/xfconf.h", array_length = false)]
+	[CCode (array_length = false, cheader_filename = "xfconf/xfconf.h")]
 	public static string[] list_channels ();
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
 	public static void named_struct_register (string struct_name, [CCode (array_length_pos = 1)] GLib.Type[] member_types);


More information about the Xfce4-commits mailing list