[totem/wip/hadess/subtitle-labels-fixes: 4/4] backend: Remove unused get_label_for_type() function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/subtitle-labels-fixes: 4/4] backend: Remove unused get_label_for_type() function
- Date: Mon, 18 Feb 2019 16:38:05 +0000 (UTC)
commit 867a59ac9109bea93ca678e6fecf7b957b01a858
Author: Bastien Nocera <hadess hadess net>
Date: Mon Feb 18 17:34:25 2019 +0100
backend: Remove unused get_label_for_type() function
src/backend/bacon-video-widget.c:3353:1: warning: ‘get_label_for_type’ defined but not used
[-Wunused-function]
get_label_for_type (const char *type_name,
^~~~~~~~~~~~~~~~~~
src/backend/bacon-video-widget.c | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index b01a8da9a..b321f20a4 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -3349,19 +3349,6 @@ bacon_video_widget_has_previous_track (BaconVideoWidget *bvw)
return FALSE;
}
-static char *
-get_label_for_type (const char *type_name,
- int num)
-{
- if (g_str_equal (type_name, "AUDIO")) {
- return g_strdup_printf (_("Audio Track #%d"), num);
- } else if (g_str_equal (type_name, "TEXT")) {
- return g_strdup_printf (_("Subtitle #%d"), num);
- }
-
- g_assert_not_reached ();
-}
-
static GList *
get_lang_list_for_type (BaconVideoWidget * bvw, const gchar * type_name)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]