summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2017-05-18 12:43:52 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2017-05-18 12:43:52 +0200
commit82b2dc694fd2ed4e2c51a7aef67cb1c75dab0380 (patch)
treec174f70bee8ad922a1385bda66f09d21c936c4ce
parent97ed2764fa1833528fb5bed92306f1148cf0ff4f (diff)
downloadglibmm-82b2dc694fd2ed4e2c51a7aef67cb1c75dab0380.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 2e1d7543..263e86b0 100644
--- a/gio/src/unixsocketaddress.hg
+++ b/gio/src/unixsocketaddress.hg
@@ -71,8 +71,7 @@ public:
_WRAP_METHOD_DOCS_ONLY(g_unix_socket_address_new_with_type)
static Glib::RefPtr<UnixSocketAddress> create(const std::string& path,
- Type type = Type::ABSTRACT,
- int path_len = -1);
+ Type type, int path_len = -1);
// Deprecated.
_IGNORE(g_unix_socket_address_get_is_abstract)