[glibmm] Update some @newin commands
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Update some @newin commands
- Date: Thu, 26 Apr 2018 11:15:50 +0000 (UTC)
commit e041a10d625aa5f5f0ec1fecf293020d2501a4bd
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Apr 26 13:13:33 2018 +0200
Update some @newin commands
API which is new in the future ABI-breaking release is newin{2,58},
but this might change again in the future. glibmm-2.58 is still just a
preliminary name of this ABI. Bug 789330
gio/src/filedescriptorbased.hg | 4 ++--
gio/src/propertyaction.hg | 16 ++++++++--------
gio/src/settings.hg | 2 +-
glib/glibmm/extraclassinit.h | 2 +-
glib/glibmm/init.h | 4 ++--
glib/glibmm/signalproxy.h | 2 +-
glib/glibmm/ustring.h | 4 ++--
glib/src/variant.hg | 16 ++++++++--------
8 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/gio/src/filedescriptorbased.hg b/gio/src/filedescriptorbased.hg
index 9d8308e..57f27dc 100644
--- a/gio/src/filedescriptorbased.hg
+++ b/gio/src/filedescriptorbased.hg
@@ -33,7 +33,7 @@ namespace Gio
*
* @ingroup Streams
*
- * @newin{2,54}
+ * @newin{2,58}
*/
class FileDescriptorBased : public Glib::Interface
{
@@ -41,7 +41,7 @@ class FileDescriptorBased : public Glib::Interface
_GTKMMPROC_WIN32_NO_WRAP
public:
- _WRAP_METHOD(int get_fd() const, g_file_descriptor_based_get_fd, newin "2,54")
+ _WRAP_METHOD(int get_fd() const, g_file_descriptor_based_get_fd, newin "2,58")
protected:
_WRAP_VFUNC(int get_fd() const, "get_fd")
diff --git a/gio/src/propertyaction.hg b/gio/src/propertyaction.hg
index 5037146..bd7da4a 100644
--- a/gio/src/propertyaction.hg
+++ b/gio/src/propertyaction.hg
@@ -76,7 +76,7 @@ namespace Gio
* Gio::Settings, see Gio::Settings::create_action() instead, and possibly
* combine its use with Gio::Settings::bind().
*
- * @newin{2,52}
+ * @newin{2,58}
*/
class PropertyAction : public Glib::Object, public Action
{
@@ -101,19 +101,19 @@ public:
* the negation of the property value, provided the property is boolean.
* @return A new %PropertyAction.
*
- * @newin{2,52}
+ * @newin{2,58}
*/
_WRAP_CREATE(const Glib::ustring& name, const Glib::PropertyProxy_Base& property_proxy,
bool invert_boolean = false)
- _WRAP_PROPERTY("name", Glib::ustring, newin "2,52")
- _WRAP_PROPERTY("parameter-type", Glib::VariantType, newin "2,52")
- _WRAP_PROPERTY("enabled", bool, newin "2,52")
- _WRAP_PROPERTY("state-type", Glib::VariantType, newin "2,52")
- _WRAP_PROPERTY("state", Glib::VariantBase, newin "2,52")
+ _WRAP_PROPERTY("name", Glib::ustring, newin "2,58")
+ _WRAP_PROPERTY("parameter-type", Glib::VariantType, newin "2,58")
+ _WRAP_PROPERTY("enabled", bool, newin "2,58")
+ _WRAP_PROPERTY("state-type", Glib::VariantType, newin "2,58")
+ _WRAP_PROPERTY("state", Glib::VariantBase, newin "2,58")
//_WRAP_PROPERTY("object", Glib::ObjectBase) // write-only, construct-only
//_WRAP_PROPERTY("property-name", Glib::ustring) // write-only, construct-only
- _WRAP_PROPERTY("invert-boolean", bool, newin "2,52")
+ _WRAP_PROPERTY("invert-boolean", bool, newin "2,58")
// There are no methods (apart from ctor and create), signals or vfuncs.
};
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index c0abb31..8c0a57b 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -198,7 +198,7 @@ public:
_IGNORE_PROPERTY("schema")
_WRAP_PROPERTY("schema-id", Glib::ustring)
- _WRAP_PROPERTY("settings-schema", Glib::RefPtr<SettingsSchema>, newin "2,52")
+ _WRAP_PROPERTY("settings-schema", Glib::RefPtr<SettingsSchema>, newin "2,58")
//TODO?: _WRAP_SIGNAL(bool change_event(const std::vector<Glib::QueryQuark>& keys, int n_keys),
"change-event")
diff --git a/glib/glibmm/extraclassinit.h b/glib/glibmm/extraclassinit.h
index 9d2fc60..9af64d2 100644
--- a/glib/glibmm/extraclassinit.h
+++ b/glib/glibmm/extraclassinit.h
@@ -74,7 +74,7 @@ namespace Glib
* in the example) must be listed before Glib::Object or a class derived from
* %Glib::Object (Gtk::Widget in the example) in the list of base classes.
*
- * @newin{2,52}
+ * @newin{2,58}
*/
class ExtraClassInit : virtual public ObjectBase
{
diff --git a/glib/glibmm/init.h b/glib/glibmm/init.h
index ac89d22..f93d9d5 100644
--- a/glib/glibmm/init.h
+++ b/glib/glibmm/init.h
@@ -53,7 +53,7 @@ void init();
* If <tt>false</tt>, init() will set the C++ global locale to the C global locale
* (std::locale::global(std::locale(std::setlocale(LC_ALL, nullptr)))).
*
- * @newin{2,52}
+ * @newin{2,58}
*/
void set_init_to_users_preferred_locale(bool state = true);
@@ -61,7 +61,7 @@ void set_init_to_users_preferred_locale(bool state = true);
* @returns The state, set with set_init_to_users_preferred_locale(); <tt>true</tt>
* if set_init_to_users_preferred_locale() has not been called.
*
- * @newin{2,52}
+ * @newin{2,58}
*/
bool get_init_to_users_preferred_locale();
diff --git a/glib/glibmm/signalproxy.h b/glib/glibmm/signalproxy.h
index 0f2022b..8641d24 100644
--- a/glib/glibmm/signalproxy.h
+++ b/glib/glibmm/signalproxy.h
@@ -110,7 +110,7 @@ protected:
* @param after Whether this signal handler should be called before or after the default signal
* handler.
*
- * @newin{2,52}
+ * @newin{2,58}
*/
sigc::slot_base& connect_impl_(bool notify, const sigc::slot_base& slot, bool after);
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h
index 0b2a279..739edd9 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -670,7 +670,7 @@ public:
*
* @throw Glib::ConvertError
*
- * @newin{2,56}
+ * @newin{2,58}
*/
template <class... Ts>
static inline ustring compose(const ustring& fmt, const Ts&... args);
@@ -709,7 +709,7 @@ public:
*
* @throw Glib::ConvertError
*
- * @newin{2,56}
+ * @newin{2,58}
*/
template <class... Ts>
static inline ustring format(const Ts&... args);
diff --git a/glib/src/variant.hg b/glib/src/variant.hg
index 95633c7..4788b81 100644
--- a/glib/src/variant.hg
+++ b/glib/src/variant.hg
@@ -145,7 +145,7 @@ public:
/** Checks if @a *this and @a other have the same type and value.
*
- * @newin{2,56}
+ * @newin{2,58}
*
* @param other The Variant to compare with.
* @return <tt>true</tt> if @a *this and @a other are equal.
@@ -154,7 +154,7 @@ public:
/** Checks if @a *this and @a other have the same type and value.
*
- * @newin{2,56}
+ * @newin{2,58}
*
* @param other The Variant to compare with.
* @return <tt>true</tt> if @a *this and @a other are not equal.
@@ -1117,7 +1117,7 @@ public:
};
/** Specialization of Variant containing a tuple.
- * @newin{2,52}
+ * @newin{2,54}
* @ingroup Variant
*/
template <class... Types>
@@ -1143,13 +1143,13 @@ public:
/** Creates a new Variant containing a tuple.
* @param data The tuple to use for creation.
* @return The new Variant holding a tuple.
- * @newin{2,52}
+ * @newin{2,54}
*/
static Variant<std::tuple<Types...>> create(const std::tuple<Types...>& data);
/** Gets the VariantType.
* @return The VariantType.
- * @newin{2,52}
+ * @newin{2,54}
*/
static const VariantType& variant_type() G_GNUC_CONST;
@@ -1160,7 +1160,7 @@ public:
* @param index The index of the element.
* @return The tuple element at index @a index.
* @throw std::out_of_range
- * @newin{2,52}
+ * @newin{2,54}
*/
template<class T>
T get_child(gsize index) const;
@@ -1170,13 +1170,13 @@ public:
/** Gets the tuple of the Variant.
* @return The tuple.
- * @newin{2,52}
+ * @newin{2,54}
*/
std::tuple<Types...> get() const;
/** Gets a VariantIter of the Variant.
* @return The VariantIter.
- * @newin{2,52}
+ * @newin{2,54}
*/
VariantIter get_iter() const;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]