[grilo] core: Fix broken patch application



commit 2e28327919b5a38ed5957d8665d1b39f0f673ab1
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 13 17:24:40 2016 +0200

    core: Fix broken patch application
    
    Introduced in e61f2172f424938d4a404a65f0dc082c615600b8
    
    Thanks patch!

 src/data/grl-media.c |   60 --------------------------------------------------
 1 files changed, 0 insertions(+), 60 deletions(-)
---
diff --git a/src/data/grl-media.c b/src/data/grl-media.c
index 0164efd..ac9eeb6 100644
--- a/src/data/grl-media.c
+++ b/src/data/grl-media.c
@@ -1814,23 +1814,6 @@ grl_media_set_composer (GrlMedia *media, const gchar *composer)
 }
 
 /**
- * grl_media_set_composer:
- * @media: the media instance
- * @artist: the audio's composer
- *
- * Set the composer of the media
- *
- * Since: 0.3.1
- */
-void
-grl_media_set_composer (GrlMedia *media, const gchar *composer)
-{
-  g_return_if_fail (GRL_IS_MEDIA (media));
-  grl_data_set_string (GRL_DATA (media), GRL_METADATA_KEY_COMPOSER,
-                       composer);
-}
-
-/**
  * grl_media_set_width:
  * @media: the media instance
  * @width: the video's width
@@ -3305,49 +3288,6 @@ grl_media_get_composer_nth (GrlMedia *media, guint index)
 }
 
 /**
- * grl_media_get_composer:
- * @media: the media instance
- *
- * Returns: the composer of the media
- *
- * Since: 0.3.1
- */
-const gchar *
-grl_media_get_composer (GrlMedia *media)
-{
-  g_return_val_if_fail (GRL_MEDIA (media), NULL);
-  return grl_data_get_string (GRL_DATA (media), GRL_METADATA_KEY_COMPOSER);
-}
-
-/**
- * grl_media_get_composer_nth:
- * @media: the media instance
- * @index: element to retrieve, starting at 0
- *
- * Returns: the n-th composer of the media
- *
- * Since: 0.3.1
- */
-const gchar *
-grl_media_get_composer_nth (GrlMedia *media, guint index)
-{
-  GrlRelatedKeys *relkeys;
-
-  g_return_val_if_fail (GRL_IS_MEDIA (media), NULL);
-
-  relkeys =
-    grl_data_get_related_keys (GRL_DATA (media),
-                               GRL_METADATA_KEY_COMPOSER,
-                               index);
-
-  if (!relkeys) {
-    return NULL;
-  } else {
-    return grl_related_keys_get_string (relkeys, GRL_METADATA_KEY_COMPOSER);
-  }
-}
-
-/**
  * grl_media_get_media_type:
  * @media: the media instance
  *


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