From d1da13ed474cfe3053d65833bb4ec2e61f47b440 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Wed, 5 Sep 2012 21:13:07 +0200 Subject: app-section.c: remove unused function app_section_get_name --- src/app-section.c | 11 ----------- src/app-section.h | 1 - 2 files changed, 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 @@ -494,17 +494,6 @@ launch_action_change_state (GSimpleAction *action, g_simple_action_set_state (action, value); } -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) { 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); -- cgit v1.2.3