From fb6509958adc6b571ea7c067507a2d269cbae539 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sat, 28 Jan 2012 20:57:06 -0600 Subject: Adding a title entry to the private structure --- src/app-indicator.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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; -- cgit v1.2.3