diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2010-12-30 00:45:13 -0500 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2010-12-30 00:48:57 -0500 |
commit | d7f620fb20eb57c917a4f3c6c51b964b72ca1455 (patch) | |
tree | f7df93acc89c7e91477f6cba10c2aa8f4afe89d8 /gio/src/dbusconnection.hg | |
parent | 685d61b793b977ef2b89a6877178b8f2bc958f8b (diff) | |
download | glibmm-d7f620fb20eb57c917a4f3c6c51b964b72ca1455.tar.gz |
VariantContainerBase: Add a create() method from an array of variants.
* glib/src/variant.{ccg,hg}: (VariantContainerBase::create): Add this
method that accepts a VariantType (describing what kind of container
should be created), and a vector of VariantBase. Theoretically, this
method should make creation of tuples possible. There is no tuple
class in standard C++ so something like this would be necessary in
cases where tuples need to be created (to be returned, for example,
from some method call). The future server/client D-Bus example should
put this method to the test.
(VariantStringBase::create_*_path): Sink the variant after creation in
these methods which was forgotten.
* gio/src/dbusconnection.hg: Typos.
Diffstat (limited to 'gio/src/dbusconnection.hg')
-rw-r--r-- | gio/src/dbusconnection.hg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/dbusconnection.hg b/gio/src/dbusconnection.hg index f703fcb9..5bb52108 100644 --- a/gio/src/dbusconnection.hg +++ b/gio/src/dbusconnection.hg @@ -44,7 +44,7 @@ class DBusInterfaceInfo; class DBusInterfaceVTable; class DBusMethodInvocation; -/// @defgroup DBus D-Bus Access Functionality +/// @defgroup DBus D-Bus API //TODO: Add example from C API in class docs. /** DBusConnection - D-Bus Connections. @@ -869,7 +869,7 @@ public: * connection, const Glib::ustring& sender, const Glib::ustring& * object_path, const Glib::ustring& interface_name, const Glib::ustring& * method_name, const Glib::VariantBase& parameters, const - * Glib::RefPtr<Gio::DBusInvocation>& invocation); + * Glib::RefPtr<Gio::DBusMethodInvocation>& invocation); * @encode */ typedef sigc::slot< |