[totem/wip/hadess/subtitle-labels-fixes: 2/4] backend: Fix g_list_free_full() warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/subtitle-labels-fixes: 2/4] backend: Fix g_list_free_full() warning
- Date: Mon, 18 Feb 2019 16:37:55 +0000 (UTC)
commit b7c227dd939403aad74b6872e34e8f6d1e2f7600
Author: Bastien Nocera <hadess hadess net>
Date: Mon Feb 18 17:33:25 2019 +0100
backend: Fix g_list_free_full() warning
src/backend/bacon-video-widget.c:3466:29: warning: passing argument 2 of ‘g_list_free_full’ from
incompatible pointer type [-Wincompatible-pointer-types]
g_list_free_full (list, bacon_video_widget_lang_info_free);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/backend/bacon-video-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 166482495..dcef7e23a 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -3463,7 +3463,7 @@ bacon_video_widget_get_languages (BaconVideoWidget * bvw)
/* When we have only one language, we don't need to show
* any languages, we default to the only track */
if (g_list_length (list) == 1) {
- g_list_free_full (list, bacon_video_widget_lang_info_free);
+ g_list_free_full (list, (GDestroyNotify) bacon_video_widget_lang_info_free);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]