[glibmm] TlsPassword: Correct its constructor parameter order.



commit 84b124040cdb9cc5bc3221aa519e0b26185c0336
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Fri Mar 22 00:17:16 2013 -0400

    TlsPassword: Correct its constructor parameter order.
    
        * gio/src/tlspassword.hg (TlsPassword): Reorder its parameters so that
        the flag comes last with a default parameter.
        (create): Do the same for its create() method.

 ChangeLog              |    8 ++++++++
 gio/src/tlspassword.hg |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9f35538..0ba25a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2013-03-22  José Alburquerque  <jaalburquerque gmail com>
 
+       TlsPassword: Correct its constructor parameter order.
+
+       * gio/src/tlspassword.hg (TlsPassword): Reorder its parameters so that
+       the flag comes last with a default parameter.
+       (create): Do the same for its create() method.
+
+2013-03-22  José Alburquerque  <jaalburquerque gmail com>
+
        TlsDatabase: Const and optional parameter corrections.
 
        * gio/src/tlsdatabase.hg: The "interaction" parameters in the methods
diff --git a/gio/src/tlspassword.hg b/gio/src/tlspassword.hg
index 96ccdaa..9dbd8f8 100644
--- a/gio/src/tlspassword.hg
+++ b/gio/src/tlspassword.hg
@@ -34,11 +34,11 @@ class TlsPassword : public Glib::Object
   _CLASS_GOBJECT(TlsPassword, GTlsPassword, G_TLS_PASSWORD, Glib::Object, GObject)
 
 protected:
-  _WRAP_CTOR(TlsPassword(TlsPasswordFlags flags, const Glib::ustring& description), g_tls_password_new)
+  _WRAP_CTOR(TlsPassword(const Glib::ustring& description{.}, TlsPasswordFlags flags{.} = 
Gio::TLS_PASSWORD_NONE), g_tls_password_new)
 
 public:
   _WRAP_METHOD_DOCS_ONLY(g_tls_password_new)
-  _WRAP_CREATE(TlsPasswordFlags flags, const Glib::ustring& description)
+  _WRAP_CREATE(const Glib::ustring& description{.}, TlsPasswordFlags flags{.} = Gio::TLS_PASSWORD_NONE)
 
   _WRAP_METHOD(const guchar* get_value(gsize& length{?}) const, g_tls_password_get_value)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]