summaryrefslogtreecommitdiff
path: root/libpeas/peas-extension-set.h
diff options
context:
space:
mode:
authorFabian Orccon <cfoch.fabian@gmail.com>2017-01-30 12:01:43 -0500
committerChristian Hergert <chergert@redhat.com>2019-10-24 13:57:32 -0700
commit936959ba46bd5205d7f439d9168cf8334f9ed2d3 (patch)
tree62329c79230546b28258d8df4866510043069998 /libpeas/peas-extension-set.h
parentf7aae3257e5654a9c3be9bad85dcf5e7a12be6ed (diff)
downloadlibpeas-936959ba46bd5205d7f439d9168cf8334f9ed2d3.tar.gz
extension-set: adds peas_extension_set_new_with_properties()
Adds a new introspectable variant of peas_extension_set_new() for language bindings. Fixes #8
Diffstat (limited to 'libpeas/peas-extension-set.h')
-rw-r--r--libpeas/peas-extension-set.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libpeas/peas-extension-set.h b/libpeas/peas-extension-set.h
index 4b35e65..cd25382 100644
--- a/libpeas/peas-extension-set.h
+++ b/libpeas/peas-extension-set.h
@@ -147,8 +147,14 @@ PeasExtensionSet *peas_extension_set_newv (PeasEngine *engine,
GType exten_type,
guint n_parameters,
GParameter *parameters);
-G_GNUC_END_IGNORE_DEPRECATIONS
+PEAS_AVAILABLE_IN_1_24
+PeasExtensionSet *peas_extension_set_new_with_properties (PeasEngine *engine,
+ GType exten_type,
+ guint n_properties,
+ const gchar **prop_names,
+ const GValue *prop_values);
+G_GNUC_END_IGNORE_DEPRECATIONS
PEAS_AVAILABLE_IN_ALL
PeasExtensionSet *peas_extension_set_new_valist (PeasEngine *engine,
GType exten_type,