[glib] gobject: Fix Since/Deprecated versions for GParameter replacement API



commit 2f2c2b6362b26fe9b9f6808e1c3dd16ce41a0ffe
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Mar 31 11:09:53 2017 +0100

    gobject: Fix Since/Deprecated versions for GParameter replacement API
    
    This slipped through the review cracks.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709865

 gio/gasyncinitable.c |    2 +-
 gio/gasyncinitable.h |    2 +-
 gio/ginitable.c      |    2 +-
 gio/ginitable.h      |    2 +-
 gobject/gobject.c    |    8 ++++----
 gobject/gobject.h    |    8 ++++----
 gobject/gparam.h     |    2 +-
 7 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gio/gasyncinitable.c b/gio/gasyncinitable.c
index 87980bc..6dde9ef 100644
--- a/gio/gasyncinitable.c
+++ b/gio/gasyncinitable.c
@@ -366,7 +366,7 @@ g_async_initable_new_async (GType                object_type,
  * for any errors.
  *
  * Since: 2.22
- * Deprecated: 2.52: Use g_object_new_with_properties() and
+ * Deprecated: 2.54: Use g_object_new_with_properties() and
  * g_async_initable_init_async() instead. See #GParameter for more information.
  */
 void
diff --git a/gio/gasyncinitable.h b/gio/gasyncinitable.h
index 495ec81..6ae426e 100644
--- a/gio/gasyncinitable.h
+++ b/gio/gasyncinitable.h
@@ -95,7 +95,7 @@ void     g_async_initable_new_async        (GType                 object_type,
                                            gpointer              user_data,
                                            const gchar          *first_property_name,
                                            ...);
-GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties and g_async_initable_init_async)
+GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties and g_async_initable_init_async)
 void     g_async_initable_newv_async       (GType                 object_type,
                                            guint                 n_parameters,
                                            GParameter           *parameters,
diff --git a/gio/ginitable.c b/gio/ginitable.c
index 4784e2c..87cf554 100644
--- a/gio/ginitable.c
+++ b/gio/ginitable.c
@@ -184,7 +184,7 @@ g_initable_new (GType          object_type,
  *      #GObject, or %NULL on error
  *
  * Since: 2.22
- * Deprecated: 2.52: Use g_object_new_with_properties() and
+ * Deprecated: 2.54: Use g_object_new_with_properties() and
  * g_initable_init() instead. See #GParameter for more information.
  */
 gpointer
diff --git a/gio/ginitable.h b/gio/ginitable.h
index 426c5bd..f5983d2 100644
--- a/gio/ginitable.h
+++ b/gio/ginitable.h
@@ -81,7 +81,7 @@ gpointer g_initable_new        (GType          object_type,
                                const gchar   *first_property_name,
                                ...);
 
-GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties and g_initable_init)
+GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties and g_initable_init)
 gpointer g_initable_newv       (GType          object_type,
                                guint          n_parameters,
                                GParameter    *parameters,
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 43f64d3..4363976 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1899,7 +1899,7 @@ g_object_new_is_valid_property (GType                  object_type,
  * Returns: (type GObject.Object) (transfer full): a new instance of
  * @object_type
  *
- * Since: 2.52
+ * Since: 2.54
  */
 GObject *
 g_object_new_with_properties (GType          object_type,
@@ -1970,7 +1970,7 @@ g_object_new_with_properties (GType          object_type,
  * Returns: (type GObject.Object) (transfer full): a new instance of
  * @object_type
  *
- * Deprecated: 2.52: Use g_object_new_with_properties() instead.
+ * Deprecated: 2.54: Use g_object_new_with_properties() instead.
  * deprecated. See #GParameter for more information.
  */
 gpointer
@@ -2199,7 +2199,7 @@ g_object_set_is_valid_property (GObject         *object,
  * valid. Warnings will be emitted and undefined behaviour may result if invalid
  * properties are passed in.
  *
- * Since: 2.52
+ * Since: 2.54
  */
 void
 g_object_setv (GObject       *object,
@@ -2325,7 +2325,7 @@ g_object_get_is_valid_property (GObject          *object,
  * Warnings will be emitted and undefined behaviour may result if invalid
  * properties are passed in.
  *
- * Since: 2.52
+ * Since: 2.54
  */
 void
 g_object_getv (GObject      *object,
diff --git a/gobject/gobject.h b/gobject/gobject.h
index 31e0eeb..afb4543 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -420,12 +420,12 @@ GLIB_AVAILABLE_IN_ALL
 gpointer    g_object_new                      (GType           object_type,
                                               const gchar    *first_property_name,
                                               ...);
-GLIB_AVAILABLE_IN_2_52
+GLIB_AVAILABLE_IN_2_54
 GObject*    g_object_new_with_properties      (GType           object_type,
                                                guint           n_properties,
                                                const char     *names[],
                                                const GValue    values[]);
-GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties)
+GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties)
 gpointer    g_object_newv                    (GType           object_type,
                                               guint           n_parameters,
                                               GParameter     *parameters);
@@ -449,7 +449,7 @@ GLIB_AVAILABLE_IN_ALL
 void       g_object_disconnect               (gpointer        object,
                                               const gchar    *signal_spec,
                                               ...) G_GNUC_NULL_TERMINATED;
-GLIB_AVAILABLE_IN_2_52
+GLIB_AVAILABLE_IN_2_54
 void        g_object_setv                     (GObject        *object,
                                                guint           n_properties,
                                                const gchar    *names[],
@@ -458,7 +458,7 @@ GLIB_AVAILABLE_IN_ALL
 void        g_object_set_valist               (GObject        *object,
                                               const gchar    *first_property_name,
                                               va_list         var_args);
-GLIB_AVAILABLE_IN_2_52
+GLIB_AVAILABLE_IN_2_54
 void        g_object_getv                     (GObject        *object,
                                                guint           n_properties,
                                                const gchar    *names[],
diff --git a/gobject/gparam.h b/gobject/gparam.h
index e496d1d..c847d4e 100644
--- a/gobject/gparam.h
+++ b/gobject/gparam.h
@@ -268,7 +268,7 @@ struct _GParamSpecClass
  * The GParameter struct is an auxiliary structure used
  * to hand parameter name/value pairs to g_object_newv().
  *
- * Deprecated: 2.52: This type is not introspectable.
+ * Deprecated: 2.54: This type is not introspectable.
  */
 struct _GParameter /* auxiliary structure for _setv() variants */
 {


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