[libpeas] Document PeasExtensionBase properties
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Document PeasExtensionBase properties
- Date: Tue, 22 Sep 2015 08:09:13 +0000 (UTC)
commit 9e6b79b97b7414c0d891d7747372d39626530ce4
Author: Garrett Regier <garrettregier gmail com>
Date: Mon Sep 21 20:58:27 2015 -0700
Document PeasExtensionBase properties
libpeas/peas-extension-base.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/libpeas/peas-extension-base.c b/libpeas/peas-extension-base.c
index eebd2ce..f9d1c25 100644
--- a/libpeas/peas-extension-base.c
+++ b/libpeas/peas-extension-base.c
@@ -118,6 +118,11 @@ peas_extension_base_class_init (PeasExtensionBaseClass *klass)
object_class->get_property = peas_extension_base_get_property;
object_class->set_property = peas_extension_base_set_property;
+ /**
+ * PeasExtensionBase:plugin-info:
+ *
+ * The #PeasPluginInfo related to the current plugin.
+ */
properties[PROP_PLUGIN_INFO] =
g_param_spec_boxed ("plugin-info",
"Plugin Information",
@@ -127,6 +132,15 @@ peas_extension_base_class_init (PeasExtensionBaseClass *klass)
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS);
+ /**
+ * PeasExtensionBase:data-dir:
+ *
+ * The The full path of the directory where the plugin
+ * should look for its data files.
+ *
+ * Note: This is the same path as that returned by
+ * peas_plugin_info_get_data_dir().
+ */
properties[PROP_DATA_DIR] =
g_param_spec_string ("data-dir",
"Data Directory",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]