aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-09-05 21:13:07 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-09-05 21:13:07 +0200
commitd1da13ed474cfe3053d65833bb4ec2e61f47b440 (patch)
tree68843fb7afa2863e40c3f43c8fa7954c859751cf /src
parent10d5f6214a815d401db7a3ca3f9fc3de8d68cd16 (diff)
downloadayatana-indicator-messages-d1da13ed474cfe3053d65833bb4ec2e61f47b440.tar.gz
ayatana-indicator-messages-d1da13ed474cfe3053d65833bb4ec2e61f47b440.tar.bz2
ayatana-indicator-messages-d1da13ed474cfe3053d65833bb4ec2e61f47b440.zip
app-section.c: remove unused function app_section_get_name
Diffstat (limited to 'src')
-rw-r--r--src/app-section.c11
-rw-r--r--src/app-section.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/src/app-section.c b/src/app-section.c
index 9bf5087..523e249 100644
--- a/src/app-section.c
+++ b/src/app-section.c
@@ -495,17 +495,6 @@ launch_action_change_state (GSimpleAction *action,
}
const gchar *
-app_section_get_name (AppSection * self)
-{
- AppSectionPrivate * priv = self->priv;
-
- if (priv->appinfo) {
- return g_app_info_get_name(G_APP_INFO(priv->appinfo));
- }
- return NULL;
-}
-
-const gchar *
app_section_get_desktop (AppSection * self)
{
AppSectionPrivate * priv = self->priv;
diff --git a/src/app-section.h b/src/app-section.h
index 32ebbf0..09697c5 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);
-const gchar * app_section_get_name (AppSection * appitem);
const gchar * app_section_get_desktop (AppSection * appitem);
GActionGroup * app_section_get_actions (AppSection *self);
GMenuModel * app_section_get_menu (AppSection *appitem);