[glibmm] DBus::[Connection|Proxy]: Use ifdefs for the UnixFDList call*() methods.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] DBus::[Connection|Proxy]: Use ifdefs for the UnixFDList call*() methods.
- Date: Thu, 25 Oct 2012 20:39:59 +0000 (UTC)
commit 71c0cdf9b4e970b370a30da063411c39e0496972
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Wed Oct 24 23:31:20 2012 -0400
DBus::[Connection|Proxy]: Use ifdefs for the UnixFDList call*() methods.
* gio/src/dbusconnection.hg:
* gio/src/dbusproxy.hg: Place the call*() methods taking a UnixFDList
parameter within '#ifdef G_OS_UNIX' ifdefs because the UnixFDList
class exists only on the Unix platform.
ChangeLog | 9 +++++++++
gio/src/dbusconnection.hg | 4 ++--
gio/src/dbusproxy.hg | 4 ++--
3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 736b296..6cdc7e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2012-10-24 Josà Alburquerque <jaalburquerque gmail com>
+ DBus::[Connection|Proxy]: Use ifdefs for the UnixFDList call*() methods.
+
+ * gio/src/dbusconnection.hg:
+ * gio/src/dbusproxy.hg: Place the call*() methods taking a UnixFDList
+ parameter within '#ifdef G_OS_UNIX' ifdefs because the UnixFDList
+ class exists only on the Unix platform.
+
+2012-10-24 Josà Alburquerque <jaalburquerque gmail com>
+
Remove the use of g_type_init() because it has been deprecated.
* glib/glibmm/wrap.cc:
diff --git a/gio/src/dbusconnection.hg b/gio/src/dbusconnection.hg
index 4770b2a..d8be6e1 100644
--- a/gio/src/dbusconnection.hg
+++ b/gio/src/dbusconnection.hg
@@ -789,7 +789,7 @@ public:
* @throw Glib::Error.
* @newin{2,34}
*/
- _WRAP_METHOD(Glib::VariantContainerBase call_finish(const Glib::RefPtr<AsyncResult>& res{.}, Glib::RefPtr<UnixFDList>& out_fd_list{.>>}), g_dbus_connection_call_with_unix_fd_list_finish, errthrow)
+ _WRAP_METHOD(Glib::VariantContainerBase call_finish(const Glib::RefPtr<AsyncResult>& res{.}, Glib::RefPtr<UnixFDList>& out_fd_list{.>>}), g_dbus_connection_call_with_unix_fd_list_finish, errthrow, ifdef G_OS_LINUX)
_WRAP_METHOD(
Glib::VariantContainerBase call_sync(
@@ -805,7 +805,7 @@ public:
CallFlags flags{.} = Gio::DBus::CALL_FLAGS_NONE,
const Glib::VariantType& reply_type{.} = Glib::VariantType()
),
- g_dbus_connection_call_with_unix_fd_list_sync, errthrow
+ g_dbus_connection_call_with_unix_fd_list_sync, errthrow, ifdef G_OS_LINUX
)
/** Emits a signal.
diff --git a/gio/src/dbusproxy.hg b/gio/src/dbusproxy.hg
index 156fdfb..cbf3d75 100644
--- a/gio/src/dbusproxy.hg
+++ b/gio/src/dbusproxy.hg
@@ -379,7 +379,7 @@ public:
* @throw Glib::Error.
* @newin{2,34}
*/
- _WRAP_METHOD(Glib::VariantContainerBase call_finish(const Glib::RefPtr<AsyncResult>& res{.}, Glib::RefPtr<UnixFDList>& out_fd_list{.>>}), g_dbus_proxy_call_with_unix_fd_list_finish, errthrow)
+ _WRAP_METHOD(Glib::VariantContainerBase call_finish(const Glib::RefPtr<AsyncResult>& res{.}, Glib::RefPtr<UnixFDList>& out_fd_list{.>>}), g_dbus_proxy_call_with_unix_fd_list_finish, errthrow, ifdef G_OS_LINUX)
_WRAP_METHOD(
Glib::VariantContainerBase call_sync(
@@ -391,7 +391,7 @@ public:
int timeout_msec{.} = -1,
CallFlags flags{.} = Gio::DBus::CALL_FLAGS_NONE
),
- g_dbus_proxy_call_with_unix_fd_list_sync, errthrow
+ g_dbus_proxy_call_with_unix_fd_list_sync, errthrow, ifdef G_OS_LINUX
)
//_WRAP_PROPERTY("g-bus-type", BusType) // write-only construct-only
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]