aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};