aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-09-05 15:27:09 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-09-05 15:27:09 +0200
commit45adbc05cf2b51986f8cfc085fe71d061c7fc406 (patch)
treeb97cfe7aa94ce053d2682eb1e9620ed07f2ab7b7 /src
parentaf9183664c534c39d12e34b5c8e7c14ea189ce8b (diff)
downloadayatana-indicator-messages-45adbc05cf2b51986f8cfc085fe71d061c7fc406.tar.gz
ayatana-indicator-messages-45adbc05cf2b51986f8cfc085fe71d061c7fc406.tar.bz2
ayatana-indicator-messages-45adbc05cf2b51986f8cfc085fe71d061c7fc406.zip
app-section: remove unused private member
Diffstat (limited to 'src')
-rw-r--r--src/app-section.c10
-rw-r--r--src/app-section.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/app-section.c b/src/app-section.c
index 58f1612..df79582 100644
--- a/src/app-section.c
+++ b/src/app-section.c
@@ -38,7 +38,6 @@ struct _AppSectionPrivate
{
GDesktopAppInfo * appinfo;
GFileMonitor *desktop_file_monitor;
- guint unreadcount;
IndicatorDesktopShortcuts * ids;
@@ -166,7 +165,6 @@ app_section_init (AppSection *self)
priv = self->priv;
priv->appinfo = NULL;
- priv->unreadcount = 0;
priv->menu = g_menu_new ();
priv->static_shortcuts = g_simple_action_group_new ();
@@ -496,14 +494,6 @@ launch_action_change_state (GSimpleAction *action,
g_simple_action_set_state (action, value);
}
-guint
-app_section_get_count (AppSection * self)
-{
- AppSectionPrivate * priv = self->priv;
-
- return priv->unreadcount;
-}
-
const gchar *
app_section_get_name (AppSection * self)
{
diff --git a/src/app-section.h b/src/app-section.h
index 711fdc9..32ebbf0 100644
--- a/src/app-section.h
+++ b/src/app-section.h
@@ -51,7 +51,6 @@ struct _AppSection {
GType app_section_get_type (void);
AppSection * app_section_new (GDesktopAppInfo *appinfo);
-guint app_section_get_count (AppSection * appitem);
const gchar * app_section_get_name (AppSection * appitem);
const gchar * app_section_get_desktop (AppSection * appitem);
GActionGroup * app_section_get_actions (AppSection *self);