[glibmm] Fix the version numbers in some @newin Doxygen commands



commit ef4cdb97ddf0fd2b20072dad526841a810934489
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Tue Jun 2 09:22:15 2015 +0200

    Fix the version numbers in some @newin Doxygen commands
    
    * gio/src/appinfo.hg: Change @newin{3,2} to @newin{2,30}.
    * gio/src/application.hg:
    * gio/src/networkmonitor.hg:
    * gio/src/simpleiostream.hg:
    * gio/src/tcpwrapperconnection.hg:
    * glib/src/binding.hg: Add 'newin 2,n"' to some _WRAP_PROPERTY().

 gio/src/appinfo.hg              |   10 ++++------
 gio/src/application.hg          |    2 +-
 gio/src/networkmonitor.hg       |    2 +-
 gio/src/simpleiostream.hg       |    4 ++--
 gio/src/tcpwrapperconnection.hg |    2 +-
 glib/src/binding.hg             |   10 +++++-----
 6 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/gio/src/appinfo.hg b/gio/src/appinfo.hg
index 4045757..330e2a2 100644
--- a/gio/src/appinfo.hg
+++ b/gio/src/appinfo.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
 /* Copyright (C) 2007 The gtkmm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -114,7 +112,7 @@ public:
    * @param launch_context An AppLaunchContext.
    * @return <tt>true</tt> on successful launch, <tt>false</tt> otherwise.
    *
-   * @newin{3,2}
+   * @newin{2,30}
    */
   bool launch(const Glib::RefPtr<Gio::File>& file, const Glib::RefPtr<AppLaunchContext>& launch_context);
 
@@ -142,7 +140,7 @@ public:
    * @param file A File object.
    * @return <tt>true</tt> on successful launch, <tt>false</tt> otherwise.
    *
-   * @newin{3,2}
+   * @newin{2,30}
    */
   bool launch(const Glib::RefPtr<Gio::File>& file);
 
@@ -178,13 +176,13 @@ public:
    * @param launch_context An AppLaunchContext.
    * @return <tt>true</tt> on successful launch, <tt>false</tt> otherwise.
    *
-   * @newin{3,2}
+   * @newin{2,30}
    */
   bool launch_uri(const std::string& uris, const Glib::RefPtr<AppLaunchContext>& launch_context);
 
   /** A launch_uri() convenience overload.
    *
-   * @newin{3,2}
+   * @newin{2,30}
    */
   bool launch_uri(const std::string& uris);
 
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 9cccc2e..24b0167 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -361,7 +361,7 @@ public:
   _WRAP_PROPERTY("inactivity-timeout", guint)
   _WRAP_PROPERTY("is-registered", bool)
   _WRAP_PROPERTY("is-remote", bool)
-  _WRAP_PROPERTY("resource-base-path", bool)
+  _WRAP_PROPERTY("resource-base-path", bool, newin "2,44")
   _WRAP_PROPERTY("is-busy", bool)
 
 //#m4 _CONVERSION(`const gchar*', `const Glib::ustring&', `Glib::ustring($3)')
diff --git a/gio/src/networkmonitor.hg b/gio/src/networkmonitor.hg
index 8441f8e..562c3d9 100644
--- a/gio/src/networkmonitor.hg
+++ b/gio/src/networkmonitor.hg
@@ -62,7 +62,7 @@ public:
 
   //TODO: Wrap vfuncs?
 
-  _WRAP_PROPERTY("network-available", bool)
+  _WRAP_PROPERTY("network-available", bool, newin "2,44")
   _WRAP_PROPERTY("connectivity", NetworkConnectivity)
 };
 
diff --git a/gio/src/simpleiostream.hg b/gio/src/simpleiostream.hg
index a556fbb..e510649 100644
--- a/gio/src/simpleiostream.hg
+++ b/gio/src/simpleiostream.hg
@@ -66,8 +66,8 @@ public:
         */
   _WRAP_CREATE(const Glib::RefPtr<InputStream>& input_stream, const Glib::RefPtr<OutputStream>& 
output_stream)
 
-  _WRAP_PROPERTY("input-stream", Glib::RefPtr<InputStream>)
-  _WRAP_PROPERTY("output-stream", Glib::RefPtr<OutputStream>)
+  _WRAP_PROPERTY("input-stream", Glib::RefPtr<InputStream>, newin "2,46")
+  _WRAP_PROPERTY("output-stream", Glib::RefPtr<OutputStream>, newin "2,46")
 
   // SimpleIOStream has no methods other than create(), signals nor vfuncs.
 };
diff --git a/gio/src/tcpwrapperconnection.hg b/gio/src/tcpwrapperconnection.hg
index 9a9a8fd..a469007 100644
--- a/gio/src/tcpwrapperconnection.hg
+++ b/gio/src/tcpwrapperconnection.hg
@@ -45,7 +45,7 @@ public:
   _WRAP_METHOD(Glib::RefPtr<IOStream> get_base_io_stream(), g_tcp_wrapper_connection_get_base_io_stream, 
refreturn)
   _WRAP_METHOD(Glib::RefPtr<const IOStream> get_base_io_stream() const, 
g_tcp_wrapper_connection_get_base_io_stream, constversion, refreturn)
 
-  _WRAP_PROPERTY("base-io-stream", Glib::RefPtr<IOStream>)
+  _WRAP_PROPERTY("base-io-stream", Glib::RefPtr<IOStream>, newin "2,44")
 };
 
 } // namespace Gio
diff --git a/glib/src/binding.hg b/glib/src/binding.hg
index 4a7eb2a..7464f5d 100644
--- a/glib/src/binding.hg
+++ b/glib/src/binding.hg
@@ -374,11 +374,11 @@ public:
   void unbind();
   _IGNORE(g_binding_unbind)
 
-  _WRAP_PROPERTY("flags", Glib::BindingFlags)
-  _WRAP_PROPERTY("source", Glib::RefPtr<Glib::ObjectBase>)
-  _WRAP_PROPERTY("source-property", Glib::ustring)
-  _WRAP_PROPERTY("target", Glib::RefPtr<Glib::ObjectBase>)
-  _WRAP_PROPERTY("target-property", Glib::ustring)
+  _WRAP_PROPERTY("flags", Glib::BindingFlags, newin "2,44")
+  _WRAP_PROPERTY("source", Glib::RefPtr<Glib::ObjectBase>, newin "2,44")
+  _WRAP_PROPERTY("source-property", Glib::ustring, newin "2,44")
+  _WRAP_PROPERTY("target", Glib::RefPtr<Glib::ObjectBase>, newin "2,44")
+  _WRAP_PROPERTY("target-property", Glib::ustring, newin "2,44")
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
   /** Decrement the reference count for this object.


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