[rygel-gst-0-10-plugins] No need to specify a size of array when initializing it at the same time.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-gst-0-10-plugins] No need to specify a size of array when initializing it at the same time.
- Date: Fri, 8 Feb 2013 12:21:12 +0000 (UTC)
commit f796961bf1386e022785ec60f0312ce883debc13
Author: Krzesimir Nowak <krnowak openismus com>
Date: Fri Feb 8 13:20:26 2013 +0100
No need to specify a size of array when initializing it at the same time.
.../rygel-media-export-root-container.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/media-export/rygel-media-export-root-container.c b/src/media-export/rygel-media-export-root-container.c
index 3a6ac4f..7314430 100644
--- a/src/media-export/rygel-media-export-root-container.c
+++ b/src/media-export/rygel-media-export-root-container.c
@@ -82,8 +82,8 @@ static RygelSearchableContainerIface *parent_searchable_container_iface = NULL;
#define RYGEL_MEDIA_EXPORT_ROOT_CONTAINER_SEARCH_CONTAINER_PREFIX RYGEL_MEDIA_EXPORT_QUERY_CONTAINER_PREFIX "upnp:class," RYGEL_MUSIC_ITEM_UPNP_CLASS ","
-const RygelMediaExportFolderDefinition VIRTUAL_FOLDERS_DEFAULT[2] = {{"Year", "dc:date,?"}, {"All", ""}};
-const RygelMediaExportFolderDefinition VIRTUAL_FOLDERS_MUSIC[3] = {{"Artist", "upnp:artist,?,upnp:album,?"}, {"Album", "upnp:album,?"}, {"Genre", "dc:genre,?"}};
+const RygelMediaExportFolderDefinition VIRTUAL_FOLDERS_DEFAULT[] = {{"Year", "dc:date,?"}, {"All", ""}};
+const RygelMediaExportFolderDefinition VIRTUAL_FOLDERS_MUSIC[] = {{"Artist", "upnp:artist,?,upnp:album,?"}, {"Album", "upnp:album,?"}, {"Genre", "dc:genre,?"}};
static RygelMediaExportRootContainer *
rygel_media_export_root_container_new (void) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]