summaryrefslogtreecommitdiff
path: root/gio/giomm/socketsource.h
diff options
context:
space:
mode:
Diffstat (limited to 'gio/giomm/socketsource.h')
-rw-r--r--gio/giomm/socketsource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/giomm/socketsource.h b/gio/giomm/socketsource.h
index f166d753..77bec405 100644
--- a/gio/giomm/socketsource.h
+++ b/gio/giomm/socketsource.h
@@ -45,7 +45,7 @@ public:
* is equivalent to:
* @code
* bool io_handler(Glib::IOCondition io_condition) { ... }
- * const Glib::RefPtr<Gio::SocketSource> socket_source = Gio::SocketSource::create(socket, Glib::IO_IN | Glib::IO_OUT);
+ * const auto socket_source = Gio::SocketSource::create(socket, Glib::IO_IN | Glib::IO_OUT);
* socket_source->connect(sigc::ptr_fun(&io_handler));
* socket_source->attach(Glib::MainContext::get_default());
* @endcode
@@ -55,6 +55,7 @@ public:
* object's MainContext runs.
*
* @newin{2,42}
+ *
* @param slot A slot to call when polling @a socket results in an event that matches @a condition.
* The event will be passed as a parameter to @a slot.
* If <tt>io_handler()</tt> returns <tt>false</tt> the handler is disconnected.