summaryrefslogtreecommitdiff
path: root/gio/src/dbusproxy.hg
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2012-10-24 23:31:20 -0400
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2012-10-24 23:31:20 -0400
commit71c0cdf9b4e970b370a30da063411c39e0496972 (patch)
treefb4efcd6034c81efc9f96794a59aa5e9cf08834c /gio/src/dbusproxy.hg
parentfd349446ed726140e3a9f77b622c79e10ca3d01f (diff)
downloadglibmm-71c0cdf9b4e970b370a30da063411c39e0496972.tar.gz
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.
Diffstat (limited to 'gio/src/dbusproxy.hg')
-rw-r--r--gio/src/dbusproxy.hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/dbusproxy.hg b/gio/src/dbusproxy.hg
index 156fdfb5..cbf3d75c 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