aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-01 15:23:36 -0500
committerTed Gould <ted@gould.cx>2010-04-01 15:23:36 -0500
commitba28468540c9e9b45d66ad0fbba59c5e86ce2fd5 (patch)
tree9d7c9a3532ac1e588da33836ea950e21ef1c801c
parentff63763f4f00d1c33a6557f3ea90dc26f7bc3c10 (diff)
downloadayatana-indicator-application-ba28468540c9e9b45d66ad0fbba59c5e86ce2fd5.tar.gz
ayatana-indicator-application-ba28468540c9e9b45d66ad0fbba59c5e86ce2fd5.tar.bz2
ayatana-indicator-application-ba28468540c9e9b45d66ad0fbba59c5e86ce2fd5.zip
Moving field documentation into a different comment block so that they're private
-rw-r--r--src/libappindicator/app-indicator.c9
-rw-r--r--src/libappindicator/app-indicator.h8
2 files changed, 12 insertions, 5 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index f82587e..132e279 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -47,6 +47,11 @@ License version 3 and version 2.1 along with this program. If not, see
/**
AppIndicatorPrivate:
+
+ All of the private data in an instance of a
+ application indicator.
+*/
+/* Private Fields
@id: The ID of the indicator. Maps to AppIndicator::id.
@category: Which category the indicator is. Maps to AppIndicator::category.
@status: The status of the indicator. Maps to AppIndicator::status.
@@ -54,11 +59,9 @@ License version 3 and version 2.1 along with this program. If not, see
@attention_icon_name: The name of the attention icon to use. Maps to AppIndicator::attention-icon-name.
@menu: The menu for this indicator. Maps to AppIndicator::menu
@watcher_proxy: The proxy connection to the watcher we're connected to. If we're not connected to one this will be #NULL.
-
- All of the private data in an instance of a
- application indicator.
*/
struct _AppIndicatorPrivate {
+ /*< Private >*/
/* Properties */
gchar *id;
gchar *clean_id;
diff --git a/src/libappindicator/app-indicator.h b/src/libappindicator/app-indicator.h
index d490c8c..549ab35 100644
--- a/src/libappindicator/app-indicator.h
+++ b/src/libappindicator/app-indicator.h
@@ -188,17 +188,21 @@ struct _AppIndicatorClass {
/**
AppIndicator:
- @parent: Parent object.
- @priv: Internal data.
A application indicator represents the values that are needed to show a
unique status in the panel for an application. In general, applications
should try to fit in the other indicators that are available on the
panel before using this. But, sometimes it is necissary.
*/
+/* Private fields
+ @parent: Parent object.
+ @priv: Internal data.
+*/
struct _AppIndicator {
+ /*< Private >*/
GObject parent;
+ /*< Private >*/
AppIndicatorPrivate *priv;
};