diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index 277bf2b993ca2ef79c21bdfdcd52ff03cd6f6aef..2071e0a7abcb0e14caff2ea0193deb86495ec7fc 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -1355,6 +1355,7 @@ peas_engine_provides_extension (PeasEngine     *engine,
   return peas_plugin_loader_provides_extension (loader, info, extension_type);
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 /**
  * peas_engine_create_extensionv: (skip)
  * @engine: A #PeasEngine.
@@ -1542,6 +1543,7 @@ peas_engine_create_extension_valist (PeasEngine     *engine,
 
   return exten;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 /**
  * peas_engine_create_extension: (skip)
diff --git a/libpeas/peas-extension-set.c b/libpeas/peas-extension-set.c
index fa402a8de8003163a208377e9c8e131226000203..8435d9b35c7c800f820abb3811a0d9a2886af3ff 100644
--- a/libpeas/peas-extension-set.c
+++ b/libpeas/peas-extension-set.c
@@ -87,6 +87,8 @@
  * ```
  **/
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
 struct _PeasExtensionSetPrivate {
   PeasEngine *engine;
   GType exten_type;
@@ -108,6 +110,8 @@ typedef struct {
   GParameter *parameters;
 } PeasParameterArray;
 
+G_GNUC_END_IGNORE_DEPRECATIONS
+
 /* Signals */
 enum {
   EXTENSION_ADDED,
@@ -145,7 +149,9 @@ set_construct_properties (PeasExtensionSet   *set,
 
   priv->n_parameters = array->n_parameters;
 
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   priv->parameters = g_new0 (GParameter, array->n_parameters);
+  G_GNUC_END_IGNORE_DEPRECATIONS
 
   for (i = 0; i < array->n_parameters; i++)
     {
@@ -612,6 +618,7 @@ peas_extension_set_foreach (PeasExtensionSet            *set,
     }
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 /**
  * peas_extension_set_newv: (skip)
  * @engine: (allow-none): A #PeasEngine, or %NULL.
@@ -764,6 +771,7 @@ peas_extension_set_new_valist (PeasEngine  *engine,
 
   return set;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 /**
  * peas_extension_set_new: (skip)
diff --git a/libpeas/peas-object-module.c b/libpeas/peas-object-module.c
index 86a63e71a1398e0d73e74cdaaa248f27a118e06a..61656e7d1cad0ca787d1f9716aa3680af69a96a0 100644
--- a/libpeas/peas-object-module.c
+++ b/libpeas/peas-object-module.c
@@ -111,6 +111,7 @@ peas_object_module_load (GTypeModule *gmodule)
       GModuleFlags flags = 0;
       gchar *fallback_path = NULL;
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 #ifdef G_OS_WIN32
       if (!g_str_has_suffix (priv->module_name, "." G_MODULE_SUFFIX))
         {
@@ -134,6 +135,7 @@ peas_object_module_load (GTypeModule *gmodule)
        * is only the .la file in the build directory.
        */
       path = g_module_build_path (priv->path, priv->module_name);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
       if (G_MODULE_SUFFIX[0] != '\0' && g_str_has_suffix (path, "." G_MODULE_SUFFIX))
         path[strlen (path) - strlen (G_MODULE_SUFFIX) - 1] = '\0';
@@ -458,6 +460,7 @@ peas_object_module_new_embedded (const gchar *module_name,
                                            NULL));
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 /**
  * peas_object_module_create_object: (skip)
  * @module: A #PeasObjectModule.
@@ -499,6 +502,7 @@ peas_object_module_create_object (PeasObjectModule *module,
 
   return NULL;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 /**
  * peas_object_module_provides_object: (skip)
@@ -650,6 +654,7 @@ peas_object_module_register_extension_factory (PeasObjectModule *module,
   g_debug ("Registered extension for type '%s'", g_type_name (exten_type));
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 static GObject *
 create_gobject_from_type (guint       n_parameters,
                           GParameter *parameters,
@@ -679,6 +684,7 @@ create_gobject_from_type (guint       n_parameters,
 
   return G_OBJECT (g_object_newv (impl_type, n_parameters, parameters));
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 /**
  * peas_object_module_register_extension_type:
diff --git a/libpeas/peas-plugin-loader-c.c b/libpeas/peas-plugin-loader-c.c
index a476eb4398ed0b3abaa26ce6671ef66acb15aacf..5395945abfb6ff49cdd225f36d18190e26edb180 100644
--- a/libpeas/peas-plugin-loader-c.c
+++ b/libpeas/peas-plugin-loader-c.c
@@ -110,6 +110,7 @@ peas_plugin_loader_c_provides_extension  (PeasPluginLoader *loader,
   return peas_object_module_provides_object (info->loader_data, exten_type);
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 static PeasExtension *
 peas_plugin_loader_c_create_extension (PeasPluginLoader *loader,
                                        PeasPluginInfo   *info,
@@ -158,6 +159,7 @@ peas_plugin_loader_c_create_extension (PeasPluginLoader *loader,
 
   return instance;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 static void
 peas_plugin_loader_c_init (PeasPluginLoaderC *cloader)
diff --git a/libpeas/peas-plugin-loader.c b/libpeas/peas-plugin-loader.c
index 29fd28fd3e74545fa9fd736957332cc3fcc0b153..7c1ed4b7ff6a20d82c7d08e04ac113224af98b7a 100644
--- a/libpeas/peas-plugin-loader.c
+++ b/libpeas/peas-plugin-loader.c
@@ -114,6 +114,7 @@ peas_plugin_loader_provides_extension (PeasPluginLoader *loader,
   return klass->provides_extension (loader, info, ext_type);
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 PeasExtension *
 peas_plugin_loader_create_extension (PeasPluginLoader *loader,
                                      PeasPluginInfo   *info,
@@ -129,6 +130,7 @@ peas_plugin_loader_create_extension (PeasPluginLoader *loader,
   return klass->create_extension (loader, info, ext_type,
                                   n_parameters, parameters);
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 void
 peas_plugin_loader_garbage_collect (PeasPluginLoader *loader)
diff --git a/libpeas/peas-utils.c b/libpeas/peas-utils.c
index ab8b540c3ae0d8db114527b678ea32d118cdb579..31e9a55dab272b1162955dcfa865bdcf74f7aacd 100644
--- a/libpeas/peas-utils.c
+++ b/libpeas/peas-utils.c
@@ -180,6 +180,7 @@ find_param_spec_for_prerequisites (const gchar  *name,
   return pspec;
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 gboolean
 peas_utils_properties_array_to_parameter_list (GType          exten_type,
                                                guint          n_properties,
@@ -304,6 +305,7 @@ error:
   g_free (*params);
   return FALSE;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 gint
 peas_utils_get_loader_id (const gchar *loader)
diff --git a/loaders/lua5.1/peas-plugin-loader-lua.c b/loaders/lua5.1/peas-plugin-loader-lua.c
index f0826f76466eddcac1037f03fdfc50d7d803168c..a3c9068a8027eae27bc5cf1a6c883a648edc374f 100644
--- a/loaders/lua5.1/peas-plugin-loader-lua.c
+++ b/loaders/lua5.1/peas-plugin-loader-lua.c
@@ -155,6 +155,7 @@ peas_plugin_loader_lua_provides_extension (PeasPluginLoader *loader,
   return the_type != G_TYPE_INVALID;
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 static PeasExtension *
 peas_plugin_loader_lua_create_extension (PeasPluginLoader *loader,
                                          PeasPluginInfo   *info,
@@ -195,6 +196,7 @@ out:
   thread_leave (lua_loader, info, &L);
   return object;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 static gboolean
 peas_plugin_loader_lua_load (PeasPluginLoader *loader,
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index 26edbf3852697f2f3fcb6b3927d50bf73cc00c87..23083bb4a733be89ce156994ef1e69950bfda8aa 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -101,6 +101,7 @@ peas_plugin_loader_python_provides_extension (PeasPluginLoader *loader,
   return the_type != G_TYPE_INVALID;
 }
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 static PeasExtension *
 peas_plugin_loader_python_create_extension (PeasPluginLoader *loader,
                                             PeasPluginInfo   *info,
@@ -183,6 +184,7 @@ peas_plugin_loader_python_load (PeasPluginLoader *loader,
   PyGILState_Release (state);
   return pymodule != NULL;
 }
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 static void
 peas_plugin_loader_python_unload (PeasPluginLoader *loader,
