summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2018-04-26 13:13:33 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2018-04-26 13:13:33 +0200
commite041a10d625aa5f5f0ec1fecf293020d2501a4bd (patch)
tree14455af68b322f642708dda249f8f1778220751e
parentfbff4140a7a4b065f8d2b40c51d27b1f3f099469 (diff)
downloadglibmm-e041a10d625aa5f5f0ec1fecf293020d2501a4bd.tar.gz
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
-rw-r--r--gio/src/filedescriptorbased.hg4
-rw-r--r--gio/src/propertyaction.hg16
-rw-r--r--gio/src/settings.hg2
-rw-r--r--glib/glibmm/extraclassinit.h2
-rw-r--r--glib/glibmm/init.h4
-rw-r--r--glib/glibmm/signalproxy.h2
-rw-r--r--glib/glibmm/ustring.h4
-rw-r--r--glib/src/variant.hg16
8 files changed, 25 insertions, 25 deletions
diff --git a/gio/src/filedescriptorbased.hg b/gio/src/filedescriptorbased.hg
index 9d8308e9..57f27dc3 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 5037146c..bd7da4a2 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 c0abb31b..8c0a57b0 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 9d2fc608..9af64d2d 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 ac89d220..f93d9d59 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,&nbsp;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 0f2022b0..8641d24d 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 0b2a2795..739edd93 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 95633c70..4788b818 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;
};