[libgdata: 5/6] youtube: Remove an unnecessary cast



commit 6356df64a59b2f4a512552a9dca63d3cf37deae3
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Aug 21 10:37:26 2019 +0300

    youtube: Remove an unnecessary cast
    
    It was introducing a compiler warning with GCC 9.1.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 gdata/services/youtube/gdata-youtube-video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-video.c b/gdata/services/youtube/gdata-youtube-video.c
index 79019bc7..f44272d6 100644
--- a/gdata/services/youtube/gdata-youtube-video.c
+++ b/gdata/services/youtube/gdata-youtube-video.c
@@ -557,7 +557,7 @@ gdata_youtube_video_finalize (GObject *object)
        g_free (priv->player_uri);
        g_strfreev (priv->region_restriction_allowed);
        g_strfreev (priv->region_restriction_blocked);
-       g_clear_pointer (&priv->content_ratings, (GDestroyNotify) g_hash_table_unref);
+       g_clear_pointer (&priv->content_ratings, g_hash_table_unref);
        g_free (priv->rejection_reason);
        g_free (priv->processing_status);
        g_free (priv->upload_status);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]