summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2017-05-18 12:39:43 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2017-05-18 12:39:43 +0200
commit5323542bd99fb059f242fb18dce9567678573c59 (patch)
treec4202d1bb211dc60051f4859c096b35cf3798dca
parent60e66b9e631c455ee4630b47ddeea198cf243735 (diff)
downloadglibmm-5323542bd99fb059f242fb18dce9567678573c59.tar.gz
Gio::UnixSocketAddress::create(): Remove a default value
Remove the default value of the 'type' parameter. As there is another create() with one parameter, the default value makes a call to create("pathname") ambiguous. Bug 782592
-rw-r--r--gio/src/unixsocketaddress.hg3
1 files changed, 1 insertions, 2 deletions
diff --git a/gio/src/unixsocketaddress.hg b/gio/src/unixsocketaddress.hg
index e3e41704..e005d48b 100644
--- a/gio/src/unixsocketaddress.hg
+++ b/gio/src/unixsocketaddress.hg
@@ -70,8 +70,7 @@ public:
_WRAP_METHOD_DOCS_ONLY(g_unix_socket_address_new_with_type)
static Glib::RefPtr<UnixSocketAddress> create(const std::string& path,
- UnixSocketAddressType type = Gio::UNIX_SOCKET_ADDRESS_ABSTRACT,
- int path_len = -1);
+ UnixSocketAddressType type, int path_len = -1);
// Deprecated.
_IGNORE(g_unix_socket_address_get_is_abstract)