[Xfce4-commits] <xfce4-vala:master> === Release 4.8.0 ===
Mike Massonnet
noreply at xfce.org
Sun Feb 13 22:08:01 CET 2011
Updating branch refs/heads/master
to 8aab7e76b1acc2f6090622d829637fee7c0607dc (commit)
from cc9ce853bf2f1b286a93b012b17238c3e646b5b3 (commit)
commit 8aab7e76b1acc2f6090622d829637fee7c0607dc
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Sun Feb 13 21:42:23 2011 +0100
=== Release 4.8.0 ===
Update bindings to Xfce 4.8.
Dropped Xfconf.get/set_array functions, since tests didn't pass and using
GLib.Value with Vala changed.
ChangeLog | 50 ++++++++++++++++++++
NEWS | 19 +++++++-
configure.ac.in | 18 ++++----
packages/exo-1/exo-1.gi | 2 +-
packages/libxfce4panel-1.0/libxfce4panel-1.0.gi | 38 ++++++++++++---
packages/libxfce4ui-1/libxfce4ui-1.gi | 11 ++--
.../libxfce4util-1.0/libxfce4util-1.0-custom.vala | 3 +-
packages/libxfce4util-1.0/libxfce4util-1.0.gi | 6 ++
packages/libxfconf-0/libxfconf-0.metadata | 9 ++--
tests/exo-1.vala | 10 ----
tests/libxfconf-0.vala | 19 +-------
vapi/exo-1.vapi | 12 ++++-
vapi/libxfce4panel-1.0.vapi | 20 +++++---
vapi/libxfce4ui-1.vapi | 14 +++--
vapi/libxfce4util-1.0.vapi | 2 +-
vapi/libxfconf-0.vapi | 8 +--
xfce4-vala.pc.in | 2 +-
17 files changed, 159 insertions(+), 84 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e466b8f..c8c4497 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,53 @@
+2011-02-13 Mike Massonnet
+
+=== Release 4.8.0 ===
+
+Update bindings to Xfce 4.8.
+
+Dropped Xfconf.get/set_array functions, since tests didn't pass and using
+GLib.Value with Vala changed.
+
+2010-10-27 Mike Massonnet
+
+Update build to Vala 0.10
+
+
+2009-12-23 Mike Massonnet
+
+Make the panel plugin example a bit more complete
+
+The plugin needs to call Gtk.main_quit() when it gets free'd or
+destroy'd. I settled for the destroy signal cause it separates a bit the
+logic of what do do on free or destroy. This is new, and if you don't do
+this call, the wrapper process will still be around after you remove the
+plugin from the panel.
+
+Connected a few signal to populate the example and made the button an
+action widget so it can be right clicked.
+
+2009-12-22 Mike Massonnet
+
+Update panel plugin example
+
+No need to pull a directory inside the desktop file (bug #5455) and also
+put an explanation about the plugin constructor.
+
+2009-12-22 Mike Massonnet
+
+Add the button panel plugin example
+
+The panel plugin example is in and builds fine for 4.7.
+
+2009-12-21 Mike Massonnet
+
+Add Xfce.PanelImage to libxfce4panel
+
+
+2009-06-14 Mike Massonnet
+
+Update bindings to Xfce 4.7
+
+
2009-09-11 Mike Massonnet
=== Release 4.6.0 ===
diff --git a/NEWS b/NEWS
index 76d5297..78c2fcd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,21 @@
++ Version 4.8.0, 2011-02-13
+
+Added libxfce4ui.
+Dropped libxfce4menu and libxfcegui4.
+Updated API to Xfce 4.8.0.
+
+Dropped Xfconf.get/set_array methods, currently there is are no bindings to get
+or set values from Arrays.
+
+Updated test functions.
+
++ Version 4.6.1, 2010-10-31
+
+Updated package to Vala 0.10.
+
+ Version 4.6.0, 2009-09-11
-Bindings for libxfce4util, libxfce4menu, libxfconf, libxfcegui4, libexo, libxfce4panel.
+Bindings for libxfce4util, libxfce4menu, libxfconf, libxfcegui4, libexo,
+libxfce4panel.
+
diff --git a/configure.ac.in b/configure.ac.in
index 414c493..4b78025 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -1,12 +1,12 @@
dnl
dnl Xfce4 Vala - Bindings for the Xfce4 framework
dnl
-dnl Copyright (c) 2009 Mike Massonnet <mmassonnet at xfce.org>
+dnl Copyright (c) 2009-2011 Mike Massonnet <mmassonnet at xfce.org>
dnl
dnl Version information
m4_define([project_version_major], [4])
-m4_define([project_version_minor], [7])
+m4_define([project_version_minor], [8])
m4_define([project_version_micro], [0])
m4_define([project_version_build], [@REVISION@])
m4_define([project_version_tag], []) # leave empty for release
@@ -14,18 +14,18 @@ m4_define([project_version], [project_version_major().project_version_minor().pr
dnl Initialize
AC_INIT([Xfce4 Vala], [project_version], [mmassonnet at xfce.org], [xfce4-vala])
-AM_INIT_AUTOMAKE([dist-bzip2])
+AM_INIT_AUTOMAKE([no-dist-gzip dist-bzip2])
AM_MAINTAINER_MODE()
dnl Check for basic programs
AC_PROG_INSTALL()
dnl Check for required packages
-M8T_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.7.0])
-M8T_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.7.0])
-M8T_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.7.0])
-M8T_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.7.0])
-M8T_CHECK_PACKAGE([EXO], [exo-1], [0.5])
+M8T_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.8.0])
+M8T_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.8.0])
+M8T_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
+M8T_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.8.0])
+M8T_CHECK_PACKAGE([EXO], [exo-1], [0.6.0])
dnl Check for Vala
M8T_CHECK_VALA([0.10.0])
@@ -35,7 +35,7 @@ AC_ARG_WITH([default-vapidir],
[],
[with_default_vapidir=no])
if test x"$with_default_vapidir" == xno ; then
- AC_SUBST([vapidir], [${datarootdir}/vala/vapi])
+ AC_SUBST([vapidir], [${datarootdir}/vala-0.10/vapi])
fi
dnl Makefile outputs
diff --git a/packages/exo-1/exo-1.gi b/packages/exo-1/exo-1.gi
index 110cb6b..2c4cf9a 100644
--- a/packages/exo-1/exo-1.gi
+++ b/packages/exo-1/exo-1.gi
@@ -344,9 +344,9 @@
</object>
<object name="ExoIconView" parent="GtkContainer" type-name="ExoIconView" get-type="exo_icon_view_get_type">
<implements>
- <interface name="GtkCellLayout"/>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
+ <interface name="GtkCellLayout"/>
</implements>
<method name="create_drag_icon" symbol="exo_icon_view_create_drag_icon">
<return-type type="GdkPixmap*"/>
diff --git a/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi b/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi
index 534b0d2..45a1059 100644
--- a/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi
+++ b/packages/libxfce4panel-1.0/libxfce4panel-1.0.gi
@@ -1,15 +1,23 @@
<?xml version="1.0"?>
<api version="1.0">
<namespace name="Xfce">
- <function name="panel_allow_customization" symbol="xfce_panel_allow_customization">
- <return-type type="gboolean"/>
- </function>
<function name="panel_create_button" symbol="xfce_panel_create_button">
<return-type type="GtkWidget*"/>
</function>
<function name="panel_create_toggle_button" symbol="xfce_panel_create_toggle_button">
<return-type type="GtkWidget*"/>
</function>
+ <function name="panel_get_channel_name" symbol="xfce_panel_get_channel_name">
+ <return-type type="gchar*"/>
+ </function>
+ <function name="panel_pixbuf_from_source" symbol="xfce_panel_pixbuf_from_source">
+ <return-type type="GdkPixbuf*"/>
+ <parameters>
+ <parameter name="source" type="gchar*"/>
+ <parameter name="icon_theme" type="GtkIconTheme*"/>
+ <parameter name="size" type="gint"/>
+ </parameters>
+ </function>
<callback name="XfcePanelPluginCheck">
<return-type type="gboolean"/>
<parameters>
@@ -50,9 +58,9 @@
</enum>
<object name="XfceArrowButton" parent="GtkToggleButton" type-name="XfceArrowButton" get-type="xfce_arrow_button_get_type">
<implements>
- <interface name="GtkActivatable"/>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkActivatable"/>
</implements>
<method name="get_arrow_type" symbol="xfce_arrow_button_get_arrow_type">
<return-type type="GtkArrowType"/>
@@ -97,8 +105,8 @@
</object>
<object name="XfceHVBox" parent="GtkBox" type-name="XfceHVBox" get-type="xfce_hvbox_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
<interface name="GtkOrientable"/>
</implements>
<method name="get_orientation" symbol="xfce_hvbox_get_orientation">
@@ -126,8 +134,8 @@
</object>
<object name="XfcePanelPlugin" parent="GtkEventBox" type-name="XfcePanelPlugin" get-type="xfce_panel_plugin_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
<interface name="XfcePanelPluginProvider"/>
</implements>
<method name="add_action_widget" symbol="xfce_panel_plugin_add_action_widget">
@@ -187,6 +195,12 @@
<parameter name="plugin" type="XfcePanelPlugin*"/>
</parameters>
</method>
+ <method name="get_locked" symbol="xfce_panel_plugin_get_locked">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="plugin" type="XfcePanelPlugin*"/>
+ </parameters>
+ </method>
<method name="get_name" symbol="xfce_panel_plugin_get_name">
<return-type type="gchar*"/>
<parameters>
@@ -275,6 +289,12 @@
<parameter name="menu" type="GtkMenu*"/>
</parameters>
</method>
+ <method name="remove" symbol="xfce_panel_plugin_remove">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="plugin" type="XfcePanelPlugin*"/>
+ </parameters>
+ </method>
<method name="save_location" symbol="xfce_panel_plugin_save_location">
<return-type type="gchar*"/>
<parameters>
@@ -389,6 +409,8 @@
<return-type type="void"/>
</vfunc>
</object>
- <constant name="XFCE_PANEL_PLUGIN_CHANNEL_NAME" type="char*" value="xfce4-panel"/>
+ <constant name="PANEL_PARAM_READABLE" type="int" value="0"/>
+ <constant name="PANEL_PARAM_READWRITE" type="int" value="0"/>
+ <constant name="PANEL_PARAM_WRITABLE" type="int" value="0"/>
</namespace>
</api>
diff --git a/packages/libxfce4ui-1/libxfce4ui-1.gi b/packages/libxfce4ui-1/libxfce4ui-1.gi
index e136ef7..296d53d 100644
--- a/packages/libxfce4ui-1/libxfce4ui-1.gi
+++ b/packages/libxfce4ui-1/libxfce4ui-1.gi
@@ -157,11 +157,11 @@
<member name="XFCE_SM_CLIENT_PRIORITY_DEFAULT" value="50"/>
<member name="XFCE_SM_CLIENT_PRIORITY_LOWEST" value="255"/>
</enum>
- <enum name="XfceSMClientRestartStyle" type-name="XfceSMClientRestartStyle" get-type="xfce_sm_client_restart_style_get_type">
+ <enum name="XfceSMClientRestartStyle">
<member name="XFCE_SM_CLIENT_RESTART_NORMAL" value="0"/>
<member name="XFCE_SM_CLIENT_RESTART_IMMEDIATELY" value="1"/>
</enum>
- <enum name="XfceSMClientShutdownHint" type-name="XfceSMClientShutdownHint" get-type="xfce_sm_client_shutdown_hint_get_type">
+ <enum name="XfceSMClientShutdownHint">
<member name="XFCE_SM_CLIENT_SHUTDOWN_HINT_ASK" value="0"/>
<member name="XFCE_SM_CLIENT_SHUTDOWN_HINT_LOGOUT" value="1"/>
<member name="XFCE_SM_CLIENT_SHUTDOWN_HINT_HALT" value="2"/>
@@ -332,7 +332,6 @@
<return-type type="void"/>
<parameters>
<parameter name="object" type="XfceSMClient*"/>
- <parameter name="p0" type="gboolean"/>
</parameters>
</signal>
<signal name="save-state-extended" when="LAST">
@@ -344,8 +343,8 @@
</object>
<object name="XfceTitledDialog" parent="GtkDialog" type-name="XfceTitledDialog" get-type="xfce_titled_dialog_get_type">
<implements>
- <interface name="GtkBuildable"/>
<interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
</implements>
<method name="get_subtitle" symbol="xfce_titled_dialog_get_subtitle">
<return-type type="gchar*"/>
@@ -393,8 +392,8 @@
</vfunc>
</object>
<constant name="LIBXFCE4UI_MAJOR_VERSION" type="int" value="4"/>
- <constant name="LIBXFCE4UI_MICRO_VERSION" type="int" value="1"/>
- <constant name="LIBXFCE4UI_MINOR_VERSION" type="int" value="7"/>
+ <constant name="LIBXFCE4UI_MICRO_VERSION" type="int" value="0"/>
+ <constant name="LIBXFCE4UI_MINOR_VERSION" type="int" value="8"/>
<constant name="XFCE_BUTTON_TYPE_MIXED" type="char*" value="button-mixed"/>
<constant name="XFCE_BUTTON_TYPE_PIXBUF" type="char*" value="button-pixbuf"/>
</namespace>
diff --git a/packages/libxfce4util-1.0/libxfce4util-1.0-custom.vala b/packages/libxfce4util-1.0/libxfce4util-1.0-custom.vala
index 0161b32..61c2712 100644
--- a/packages/libxfce4util-1.0/libxfce4util-1.0-custom.vala
+++ b/packages/libxfce4util-1.0/libxfce4util-1.0-custom.vala
@@ -38,8 +38,7 @@ namespace Xfce {
}
[CCode (cname = "xfce_version_string")]
- public static weak string get_version_string ();
- public static weak string get_license_text (Xfce.LicenseTextType license_type);
+ public static unowned string get_version_string ();
public static void textdomain (string package, string localedir, string? encoding = null);
}
diff --git a/packages/libxfce4util-1.0/libxfce4util-1.0.gi b/packages/libxfce4util-1.0/libxfce4util-1.0.gi
index 5548dd9..9c30525 100644
--- a/packages/libxfce4util-1.0/libxfce4util-1.0.gi
+++ b/packages/libxfce4util-1.0/libxfce4util-1.0.gi
@@ -1,6 +1,12 @@
<?xml version="1.0"?>
<api version="1.0">
<namespace name="Xfce">
+ <function name="get_license_text" symbol="xfce_get_license_text">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="license_type" type="XfceLicenseTextType"/>
+ </parameters>
+ </function>
<struct name="XfceKiosk">
<method name="free" symbol="xfce_kiosk_free">
<return-type type="void"/>
diff --git a/packages/libxfconf-0/libxfconf-0.metadata b/packages/libxfconf-0/libxfconf-0.metadata
index f6b9daa..18b361a 100644
--- a/packages/libxfconf-0/libxfconf-0.metadata
+++ b/packages/libxfconf-0/libxfconf-0.metadata
@@ -9,21 +9,20 @@ xfconf_named_struct_register.member_types array_length_pos="1"
XfconfChannel:channel-name hidden="1"
XfconfChannel:property-base hidden="1"
+xfconf_channel_get_array hidden="1"
+xfconf_channel_set_array hidden="1"
+xfconf_channel_get_arrayv hidden="1"
+xfconf_channel_set_arrayv hidden="1"
xfconf_channel_get_array_valist hidden="1"
xfconf_channel_set_array_valist hidden="1"
xfconf_channel_get_struct_valist hidden="1"
xfconf_channel_set_struct_valist hidden="1"
-xfconf_channel_get_arrayv hidden="1"
-xfconf_channel_set_arrayv hidden="1"
-
xfconf_channel_get_string transfer_ownership="1"
xfconf_channel_get_string_list is_array="1" no_array_length="1" transfer_ownership="1"
xfconf_channel_set_string_list hidden="1"
-xfconf_channel_set_array sentinel="G_TYPE_INVALID"
-xfconf_channel_get_array sentinel="G_TYPE_INVALID"
xfconf_channel_set_struct sentinel="G_TYPE_INVALID"
xfconf_channel_get_struct sentinel="G_TYPE_INVALID"
xfconf_channel_set_structv.n_members hidden="1"
diff --git a/tests/exo-1.vala b/tests/exo-1.vala
index 46ba16a..9115e2b 100644
--- a/tests/exo-1.vala
+++ b/tests/exo-1.vala
@@ -28,15 +28,6 @@ public class ExoTests {
print ("MutualBinding: dummy1.prop_string: %s\n", dummy1.prop_string);
}
- public void test_md5 () {
- // Deprecated since GLib 2.16 by GChecksum
- string content = "hello world!";
- print ("Md5: str_get_md5_str(\"%s\"): %s\n", content, Exo.Md5.str_get_md5_str (content));
-
- var md5_digest = Exo.Md5Digest.str_get_md5_digest (content);
- print ("Md5Digest: to_str(): %s\n", md5_digest.to_str ());
- }
-
public void test_mount_point () {
}
@@ -46,7 +37,6 @@ public class ExoTests {
static int main () {
var tests = new ExoTests ();
tests.test_binding ();
- tests.test_md5 ();
tests.test_mount_point ();
tests.test_string ();
return 0;
diff --git a/tests/libxfconf-0.vala b/tests/libxfconf-0.vala
index 0b0d39a..ceb1079 100644
--- a/tests/libxfconf-0.vala
+++ b/tests/libxfconf-0.vala
@@ -8,7 +8,7 @@ public class LibxfconfTests : Object {
get; set;
}
- LibxfconfTests () {
+ public LibxfconfTests () {
channel = new Xfconf.Channel ("test-vala-bindings");
}
@@ -45,22 +45,6 @@ public class LibxfconfTests : Object {
print ("property: %d\n", prop_val.get_int ());
}
- public void test_arrays () {
- /* Set an array */
- Value val_int = Value (typeof(int));
- Value val_string = Value (typeof(string));
- val_int.set_int (5);
- val_string.set_string ("cinq");
- channel.set_array ("/array", typeof(int), ref val_int, typeof(string), ref val_string);
-
- /* Get an array */
- int val2_int;
- string val2_string;
- channel.get_array ("/array", typeof(int), out val2_int, typeof(string), out val2_string);
- print ("array val_int: %d\n", val2_int);
- print ("array val_string: %s\n", val2_string);
- }
-
private struct MyStruct {
public int val_int;
public string val_string;
@@ -148,7 +132,6 @@ static int main (string[] args) {
var tests = new LibxfconfTests ();
tests.test_list_channels ();
tests.test_simple_types ();
- tests.test_arrays ();
tests.test_structs ();
tests.test_int16 ();
tests.test_error ();
diff --git a/vapi/exo-1.vapi b/vapi/exo-1.vapi
index 9b6635b..5b233d3 100644
--- a/vapi/exo-1.vapi
+++ b/vapi/exo-1.vapi
@@ -1,4 +1,4 @@
-/* exo-1.vapi generated by vapigen, do not modify. */
+/* exo-1.vapi generated by vapigen-0.10, do not modify. */
[CCode (cprefix = "Exo", lower_case_cprefix = "exo_")]
namespace Exo {
@@ -90,7 +90,7 @@ namespace Exo {
public bool set_icon (string icon);
}
[CCode (cheader_filename = "exo/exo.h")]
- public class IconView : Gtk.Container, Gtk.CellLayout, Atk.Implementor, Gtk.Buildable {
+ public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public IconView ();
public unowned Gdk.Pixmap create_drag_icon (Gtk.TreePath path);
@@ -188,6 +188,8 @@ namespace Exo {
}
[CCode (cheader_filename = "exo/exo.h")]
public class Job : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected Job ();
public void cancel ();
public void emit (uint signal_id, GLib.Quark signal_detail);
[NoWrapper]
@@ -217,6 +219,8 @@ namespace Exo {
}
[CCode (cheader_filename = "exo/exo.h")]
public class SimpleJob : Exo.Job {
+ [CCode (has_construct_function = false)]
+ protected SimpleJob ();
public static unowned Exo.Job launch (Exo.SimpleJobFunc func, uint n_param_values);
}
[Compact]
@@ -252,6 +256,8 @@ namespace Exo {
}
[CCode (cheader_filename = "exo/exo.h")]
public class ToolbarsEditorDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
+ [CCode (has_construct_function = false)]
+ protected ToolbarsEditorDialog ();
[CCode (type = "GtkWidget*", has_construct_function = false)]
public ToolbarsEditorDialog.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
}
@@ -336,6 +342,8 @@ namespace Exo {
[CCode (cheader_filename = "exo/exo.h")]
public class XsessionClient : GLib.Object {
[CCode (has_construct_function = false)]
+ protected XsessionClient ();
+ [CCode (has_construct_function = false)]
public XsessionClient.with_group (Gdk.Window leader);
public Gdk.Window group { get; set; }
[CCode (array_length = false, array_null_terminated = true)]
diff --git a/vapi/libxfce4panel-1.0.vapi b/vapi/libxfce4panel-1.0.vapi
index 5557627..bccf44b 100644
--- a/vapi/libxfce4panel-1.0.vapi
+++ b/vapi/libxfce4panel-1.0.vapi
@@ -1,9 +1,9 @@
-/* libxfce4panel-1.0.vapi generated by vapigen, do not modify. */
+/* libxfce4panel-1.0.vapi generated by vapigen-0.10, do not modify. */
[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")]
namespace Xfce {
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
- public class ArrowButton : Gtk.ToggleButton, Gtk.Activatable, Gtk.Buildable, Atk.Implementor {
+ public class ArrowButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public ArrowButton (Gtk.ArrowType arrow_type);
public Gtk.ArrowType get_arrow_type ();
@@ -14,7 +14,7 @@ namespace Xfce {
public virtual signal void arrow_type_changed (Gtk.ArrowType type);
}
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
- public class HVBox : Gtk.Box, Gtk.Buildable, Atk.Implementor, Gtk.Orientable {
+ 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)]
public HVBox (Gtk.Orientation orientation, bool homogeneous, int spacing);
@@ -36,7 +36,9 @@ namespace Xfce {
public void set_from_source (string source);
}
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
- public class PanelPlugin : Gtk.EventBox, Gtk.Buildable, Atk.Implementor, Xfce.PanelPluginProvider {
+ public class PanelPlugin : Gtk.EventBox, Atk.Implementor, Gtk.Buildable, Xfce.PanelPluginProvider {
+ [CCode (has_construct_function = false)]
+ protected PanelPlugin ();
public void add_action_widget (Gtk.Widget widget);
public Gtk.ArrowType arrow_type ();
public void block_autohide (bool blocked);
@@ -48,6 +50,7 @@ namespace Xfce {
public unowned string get_comment ();
public unowned string get_display_name ();
public bool get_expand ();
+ public bool get_locked ();
public Gtk.Orientation get_orientation ();
public unowned string get_property_base ();
public Xfce.ScreenPosition get_screen_position ();
@@ -60,6 +63,7 @@ namespace Xfce {
public static void position_menu (Gtk.Menu menu, int x, int y, bool push_in, void* panel_plugin);
public void position_widget (Gtk.Widget menu_widget, Gtk.Widget attach_widget, int x, int y);
public void register_menu (Gtk.Menu menu);
+ public void remove ();
public unowned string save_location (bool create);
public void set_expand (bool expand);
public void take_window (Gtk.Window window);
@@ -116,11 +120,11 @@ namespace Xfce {
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h", has_target = false)]
public delegate bool PanelPluginPreInit (int argc, string argv);
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
- public const string PANEL_PLUGIN_CHANNEL_NAME;
- [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
- public static bool panel_allow_customization ();
- [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
public static unowned Gtk.Button panel_create_button ();
[CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
public static unowned Gtk.ToggleButton panel_create_toggle_button ();
+ [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
+ public static unowned string panel_get_channel_name ();
+ [CCode (cheader_filename = "libxfce4panel/libxfce4panel.h")]
+ public static unowned Gdk.Pixbuf panel_pixbuf_from_source (string source, Gtk.IconTheme icon_theme, int size);
}
diff --git a/vapi/libxfce4ui-1.vapi b/vapi/libxfce4ui-1.vapi
index a9bde3b..13d704e 100644
--- a/vapi/libxfce4ui-1.vapi
+++ b/vapi/libxfce4ui-1.vapi
@@ -1,9 +1,11 @@
-/* libxfce4ui-1.vapi generated by vapigen, do not modify. */
+/* libxfce4ui-1.vapi generated by vapigen-0.10, do not modify. */
[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")]
namespace Xfce {
[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
public class SMClient : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected SMClient ();
public bool connect () throws GLib.Error;
public void disconnect ();
public static unowned Xfce.SMClient @get ();
@@ -40,11 +42,11 @@ namespace Xfce {
public virtual signal void quit ();
public virtual signal void quit_cancelled ();
public virtual signal bool quit_requested ();
- public virtual signal void save_state (bool p0);
+ public virtual signal void save_state ();
public virtual signal void save_state_extended ();
}
[CCode (cheader_filename = "libxfce4ui/libxfce4ui.h")]
- public class TitledDialog : Gtk.Dialog, Gtk.Buildable, Atk.Implementor {
+ public class TitledDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public TitledDialog ();
public unowned string get_subtitle ();
@@ -53,7 +55,7 @@ namespace Xfce {
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 = "0", cheader_filename = "libxfce4ui/libxfce4ui.h")]
+ [CCode (cprefix = "XFCE_SM_CLIENT_PRIORITY_", has_type_id = false, cheader_filename = "libxfce4ui/libxfce4ui.h")]
public enum SMClientPriority {
HIGHEST,
WM,
@@ -62,12 +64,12 @@ namespace Xfce {
DEFAULT,
LOWEST
}
- [CCode (cprefix = "XFCE_SM_CLIENT_RESTART_", cheader_filename = "libxfce4ui/libxfce4ui.h")]
+ [CCode (cprefix = "XFCE_SM_CLIENT_RESTART_", has_type_id = false, cheader_filename = "libxfce4ui/libxfce4ui.h")]
public enum SMClientRestartStyle {
NORMAL,
IMMEDIATELY
}
- [CCode (cprefix = "XFCE_SM_CLIENT_SHUTDOWN_HINT_", cheader_filename = "libxfce4ui/libxfce4ui.h")]
+ [CCode (cprefix = "XFCE_SM_CLIENT_SHUTDOWN_HINT_", has_type_id = false, cheader_filename = "libxfce4ui/libxfce4ui.h")]
public enum SMClientShutdownHint {
ASK,
LOGOUT,
diff --git a/vapi/libxfce4util-1.0.vapi b/vapi/libxfce4util-1.0.vapi
index 0cd8993..778b521 100644
--- a/vapi/libxfce4util-1.0.vapi
+++ b/vapi/libxfce4util-1.0.vapi
@@ -1,4 +1,4 @@
-/* libxfce4util-1.0.vapi generated by vapigen, do not modify. */
+/* libxfce4util-1.0.vapi generated by vapigen-0.10, do not modify. */
[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")]
namespace Xfce {
diff --git a/vapi/libxfconf-0.vapi b/vapi/libxfconf-0.vapi
index a699cfd..42694c7 100644
--- a/vapi/libxfconf-0.vapi
+++ b/vapi/libxfconf-0.vapi
@@ -1,4 +1,4 @@
-/* libxfconf-0.vapi generated by vapigen, do not modify. */
+/* libxfconf-0.vapi generated by vapigen-0.10, do not modify. */
[CCode (cprefix = "Xfconf", lower_case_cprefix = "xfconf_")]
namespace Xfconf {
@@ -7,8 +7,6 @@ namespace Xfconf {
[CCode (has_construct_function = false)]
public Channel (string channel_name);
public static unowned Xfconf.Channel @get (string channel_name);
- [CCode (sentinel = "G_TYPE_INVALID")]
- public bool get_array (string property, ...);
public bool get_bool (string property, bool default_value);
public double get_double (string property, double default_value);
public int32 get_int (string property, int32 default_value);
@@ -26,8 +24,6 @@ namespace Xfconf {
public bool has_property (string property);
public bool is_property_locked (string property);
public void reset_property (string property_base, bool recursive);
- [CCode (sentinel = "G_TYPE_INVALID")]
- public bool set_array (string property, ...);
public bool set_bool (string property, bool value);
public bool set_double (string property, double value);
public bool set_int (string property, int32 value);
@@ -74,7 +70,7 @@ namespace Xfconf {
INVALID_CHANNEL,
}
[CCode (cheader_filename = "xfconf/xfconf.h")]
- public static void array_free (GLib.PtrArray arr);
+ public static void array_free (GLib.GenericArray arr);
[CCode (cheader_filename = "xfconf/xfconf.h")]
public static bool init () throws Xfconf.Error;
[CCode (cheader_filename = "xfconf/xfconf.h", array_length = false)]
diff --git a/xfce4-vala.pc.in b/xfce4-vala.pc.in
index f83d2bd..f502a84 100644
--- a/xfce4-vala.pc.in
+++ b/xfce4-vala.pc.in
@@ -4,5 +4,5 @@ libdir=@libdir@
includedir=@includedir@
Name: @PACKAGE_TARNAME@
-Description: Vala bindings for the Xfce framework
+Description: Vala bindings for the Xfce Desktop Environment
Version: @PACKAGE_VERSION@
More information about the Xfce4-commits
mailing list