[vala] gio-2.0: Fix Bus.watch_name and watch_name_on_connection bindings
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Fix Bus.watch_name and watch_name_on_connection bindings
- Date: Wed, 8 Jun 2011 19:17:47 +0000 (UTC)
commit 185daf6f2ee8f07c367f5e3d8fe008974f466fa8
Author: Luca Bruno <lucabru src gnome org>
Date: Wed Jun 8 21:14:50 2011 +0200
gio-2.0: Fix Bus.watch_name and watch_name_on_connection bindings
Fixes bug 652123.
vapi/gio-2.0.vapi | 10 +++++-----
vapi/packages/gio-2.0/gio-2.0-custom.vala | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 08e580b..df8171b 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -21,9 +21,9 @@ namespace GLib {
[CCode (cheader_filename = "gio/gio.h")]
public static void unwatch_name (uint watcher_id);
[CCode (cname = "g_bus_watch_name_with_closures", cheader_filename = "gio/gio.h")]
- public static uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback name_vanished_handler);
+ public static uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_handler);
[CCode (cname = "g_bus_watch_name_on_connection_with_closures", cheader_filename = "gio/gio.h")]
- public static uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback name_vanished_handler);
+ public static uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_handler);
}
[CCode (cprefix = "GContentType", lower_case_cprefix = "g_content_type_")]
namespace ContentType {
@@ -2406,7 +2406,7 @@ namespace GLib {
INVALID_FILE_CONTENT,
SELINUX_SECURITY_CONTEXT_UNKNOWN,
ADT_AUDIT_DATA_UNKNOWN,
- OBJECT_PATH_IN_USE,
+ OBJECT_PATH_IN_USE
}
[CCode (cprefix = "G_IO_ERROR_", cheader_filename = "gio/gio.h")]
public errordomain IOError {
@@ -2453,13 +2453,13 @@ namespace GLib {
PROXY_FAILED,
PROXY_AUTH_FAILED,
PROXY_NEED_AUTH,
- PROXY_NOT_ALLOWED,
+ PROXY_NOT_ALLOWED
}
[CCode (cprefix = "G_RESOLVER_ERROR_", cheader_filename = "gio/gio.h")]
public errordomain ResolverError {
NOT_FOUND,
TEMPORARY_FAILURE,
- INTERNAL,
+ INTERNAL
}
[CCode (cheader_filename = "gio/gio.h")]
public delegate void AsyncReadyCallback (GLib.Object? source_object, GLib.AsyncResult res);
diff --git a/vapi/packages/gio-2.0/gio-2.0-custom.vala b/vapi/packages/gio-2.0/gio-2.0-custom.vala
index 74145e0..51636d9 100644
--- a/vapi/packages/gio-2.0/gio-2.0-custom.vala
+++ b/vapi/packages/gio-2.0/gio-2.0-custom.vala
@@ -65,9 +65,9 @@ namespace GLib {
public void unown_name (uint owner_id);
public void unwatch_name (uint watcher_id);
[CCode (cname = "g_bus_watch_name_with_closures")]
- public uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback name_vanished_handler);
+ public uint watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_handler);
[CCode (cname = "g_bus_watch_name_on_connection_with_closures")]
- public uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback name_vanished_handler);
+ public uint watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, [CCode (type = "GClosure*")] owned GLib.BusNameAppearedCallback? name_appeared_handler, [CCode (type = "GClosure*")] owned GLib.BusNameVanishedCallback? name_vanished_handler);
}
[CCode (cname = "GDBusConnection")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]