summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gio/gasyncinitable.h2
-rw-r--r--gio/ginitable.h2
-rw-r--r--glib/gtestutils.h2
-rw-r--r--gobject/gobject.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/gio/gasyncinitable.h b/gio/gasyncinitable.h
index 1c713a13f..f30d2cec7 100644
--- a/gio/gasyncinitable.h
+++ b/gio/gasyncinitable.h
@@ -97,6 +97,7 @@ void g_async_initable_new_async (GType object_type,
...);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
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,
@@ -105,6 +106,7 @@ void g_async_initable_newv_async (GType object_type,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+
G_GNUC_END_IGNORE_DEPRECATIONS
GLIB_AVAILABLE_IN_ALL
diff --git a/gio/ginitable.h b/gio/ginitable.h
index 3124f028f..463bfcc5a 100644
--- a/gio/ginitable.h
+++ b/gio/ginitable.h
@@ -82,12 +82,14 @@ gpointer g_initable_new (GType object_type,
...);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
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,
GCancellable *cancellable,
GError **error);
+
G_GNUC_END_IGNORE_DEPRECATIONS
GLIB_AVAILABLE_IN_ALL
diff --git a/glib/gtestutils.h b/glib/gtestutils.h
index 114d0554b..26de21216 100644
--- a/glib/gtestutils.h
+++ b/glib/gtestutils.h
@@ -367,9 +367,11 @@ typedef enum {
} GTestTrapFlags GLIB_DEPRECATED_TYPE_IN_2_38_FOR(GTestSubprocessFlags);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
GLIB_DEPRECATED_IN_2_38_FOR (g_test_trap_subprocess)
gboolean g_test_trap_fork (guint64 usec_timeout,
GTestTrapFlags test_trap_flags);
+
G_GNUC_END_IGNORE_DEPRECATIONS
typedef enum {
diff --git a/gobject/gobject.h b/gobject/gobject.h
index 5f5c2a944..12e0882c6 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -426,10 +426,12 @@ GObject* g_object_new_with_properties (GType object_type,
const GValue values[]);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties)
gpointer g_object_newv (GType object_type,
guint n_parameters,
GParameter *parameters);
+
G_GNUC_END_IGNORE_DEPRECATIONS
GLIB_AVAILABLE_IN_ALL