aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-23 22:03:23 -0600
committerTed Gould <ted@gould.cx>2011-02-23 22:03:23 -0600
commite5b4e41bb3b71899ecc2e22fd3d8ce4badfd02ae (patch)
tree8e28050b1ff6caa57818c92e64aeaaaff1943d85 /src
parent7e03eadb90bf137ff4737d796edd0b8bf61ad6f1 (diff)
downloadlibayatana-appindicator-e5b4e41bb3b71899ecc2e22fd3d8ce4badfd02ae.tar.gz
libayatana-appindicator-e5b4e41bb3b71899ecc2e22fd3d8ce4badfd02ae.tar.bz2
libayatana-appindicator-e5b4e41bb3b71899ecc2e22fd3d8ce4badfd02ae.zip
Fixing up the get functions
Diffstat (limited to 'src')
-rw-r--r--src/app-indicator.c50
1 files changed, 33 insertions, 17 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index d75fce0..4f09e60 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -2045,6 +2045,22 @@ app_indicator_get_icon (AppIndicator *self)
}
/**
+ app_indicator_get_icon_desc:
+ @self: The #AppIndicator object to use
+
+ Wrapper function for property #AppIndicator:icon-desc.
+
+ Return value: The current icon description.
+*/
+const gchar *
+app_indicator_get_icon_desc (AppIndicator *self)
+{
+ g_return_val_if_fail (IS_APP_INDICATOR (self), NULL);
+
+ return self->priv->accessible_desc;
+}
+
+/**
app_indicator_get_icon_theme_path:
@self: The #AppIndicator object to use
@@ -2077,13 +2093,29 @@ app_indicator_get_attention_icon (AppIndicator *self)
}
/**
+ app_indicator_get_attention_icon_desc:
+ @self: The #AppIndicator object to use
+
+ Wrapper function for property #AppIndicator:attention-icon-desc.
+
+ Return value: The current attention icon description.
+*/
+const gchar *
+app_indicator_get_attention_icon_desc (AppIndicator *self)
+{
+ g_return_val_if_fail (IS_APP_INDICATOR (self), NULL);
+
+ return self->priv->att_accessible_desc;
+}
+
+/**
app_indicator_get_menu:
@self: The #AppIndicator object to use
Gets the menu being used for this application indicator.
Wrapper function for property #AppIndicator:menu.
- Return value: A #GtkMenu object or %NULL if one hasn't been set.
+ Return value: (transfer none): A #GtkMenu object or %NULL if one hasn't been set.
*/
GtkMenu *
app_indicator_get_menu (AppIndicator *self)
@@ -2130,22 +2162,6 @@ app_indicator_get_label_guide (AppIndicator *self)
}
/**
- app_indicator_get_accessible_desc:
- @self: The #AppIndicator object to use
-
- Wrapper function for property #AppIndicator:accessible_desc.
-
- Return value: The current accessible description.
-*/
-const gchar *
-app_indicator_get_accessible_desc (AppIndicator *self)
-{
- g_return_val_if_fail (IS_APP_INDICATOR (self), NULL);
-
- return self->priv->accessible_desc;
-}
-
-/**
app_indicator_get_ordering_index:
@self: The #AppIndicator object to use