aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-28 20:57:06 -0600
committerTed Gould <ted@gould.cx>2012-01-28 20:57:06 -0600
commitfb6509958adc6b571ea7c067507a2d269cbae539 (patch)
treeb0a0e82a899613e366d4ab507013f24dde2a5785 /src/app-indicator.c
parenta89fe2cf130a13d8eebe14c0344071c0fd7641c5 (diff)
downloadlibayatana-appindicator-fb6509958adc6b571ea7c067507a2d269cbae539.tar.gz
libayatana-appindicator-fb6509958adc6b571ea7c067507a2d269cbae539.tar.bz2
libayatana-appindicator-fb6509958adc6b571ea7c067507a2d269cbae539.zip
Adding a title entry to the private structure
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 17d6261..f1caf82 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -78,6 +78,7 @@ struct _AppIndicatorPrivate {
GtkWidget *sec_activate_target;
gboolean sec_activate_enabled;
guint32 ordering_index;
+ gchar * title;
gchar * label;
gchar * label_guide;
gchar * accessible_desc;
@@ -575,6 +576,7 @@ app_indicator_init (AppIndicator *self)
priv->menu = NULL;
priv->menuservice = NULL;
priv->ordering_index = 0;
+ priv->title = NULL;
priv->label = NULL;
priv->label_guide = NULL;
priv->label_change_idle = 0;
@@ -716,6 +718,11 @@ app_indicator_finalize (GObject *object)
priv->icon_theme_path = NULL;
}
+ if (priv->title != NULL) {
+ g_free(priv->title);
+ priv->title = NULL;
+ }
+
if (priv->label != NULL) {
g_free(priv->label);
priv->label = NULL;