diff options
author | Christian Hergert <chergert@redhat.com> | 2019-08-05 13:10:32 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2019-08-05 13:10:32 -0700 |
commit | dd795bd071d9cec755979a3942682a331c429360 (patch) | |
tree | d1af04eb4bc8c20e0aec7e822b82ae8768b941e8 /libpeas/peas-object-module.h | |
parent | 4eea771e78b7ef78dfaeeceafdc0c64a7155655f (diff) | |
download | libpeas-dd795bd071d9cec755979a3942682a331c429360.tar.gz |
deprecations: ignore GParameter deprecations in headers
The deprecations will warn from GLib itself, so we need not warn here in
our usage of provoding features with them. We may however, in the future
want to provide alternative API for this other than GParameter.
Diffstat (limited to 'libpeas/peas-object-module.h')
-rw-r--r-- | libpeas/peas-object-module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpeas/peas-object-module.h b/libpeas/peas-object-module.h index 08c5d6b..7c84eac 100644 --- a/libpeas/peas-object-module.h +++ b/libpeas/peas-object-module.h @@ -41,6 +41,7 @@ typedef struct _PeasObjectModule PeasObjectModule; typedef struct _PeasObjectModuleClass PeasObjectModuleClass; typedef struct _PeasObjectModulePrivate PeasObjectModulePrivate; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS /** * PeasFactoryFunc: * @n_parameters: The number of paramteters. @@ -57,6 +58,7 @@ typedef struct _PeasObjectModulePrivate PeasObjectModulePrivate; typedef GObject *(*PeasFactoryFunc) (guint n_parameters, GParameter *parameters, gpointer user_data); +G_GNUC_END_IGNORE_DEPRECATIONS /** * PeasObjectModule: @@ -94,10 +96,12 @@ PeasObjectModule *peas_object_module_new_full (const gchar PeasObjectModule *peas_object_module_new_embedded (const gchar *module_name, const gchar *symbol); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS GObject *peas_object_module_create_object (PeasObjectModule *module, GType exten_type, guint n_parameters, GParameter *parameters); +G_GNUC_END_IGNORE_DEPRECATIONS gboolean peas_object_module_provides_object (PeasObjectModule *module, GType exten_type); |