[rygel-gst-0-10-plugins] Fix showing items in leaf query containers.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-gst-0-10-plugins] Fix showing items in leaf query containers.
- Date: Mon, 11 Feb 2013 12:55:43 +0000 (UTC)
commit 8fd655022b45c1be86bff3326397f1b1f46b75cd
Author: Krzesimir Nowak <krnowak openismus com>
Date: Mon Feb 11 11:21:49 2013 +0100
Fix showing items in leaf query containers.
.../rygel-media-export-query-container-factory.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/media-export/rygel-media-export-query-container-factory.c b/src/media-export/rygel-media-export-query-container-factory.c
index d35a4cb..c099b74 100644
--- a/src/media-export/rygel-media-export-query-container-factory.c
+++ b/src/media-export/rygel-media-export-query-container-factory.c
@@ -316,8 +316,8 @@ rygel_media_export_query_container_factory_parse_description (const gchar *desc
local_upnp_class = rygel_media_export_query_container_factory_map_upnp_class (local_attribute);
}
} else {
- g_free (args[i]);
- args[i] = g_strdup ("%s");
+ g_free (args[i + 1]);
+ args[i + 1] = g_strdup ("%s");
local_pattern = g_strjoinv (",", args);
local_upnp_class = rygel_media_export_query_container_factory_map_upnp_class (previous_attribute);
@@ -398,7 +398,7 @@ rygel_media_export_query_container_factory_update_search_expression (RygelSearch
RygelLogicalExpression *conjunction = rygel_logical_expression_new ();
RygelSearchExpression *search_conj = RYGEL_SEARCH_EXPRESSION (conjunction);
- search_conj->operand1 = expression;
+ search_conj->operand1 = *expression;
search_conj->operand2 = subexpression;
search_conj->op = (gpointer) ((gintptr) RYGEL_LOGICAL_OPERATOR_AND);
*expression = search_conj;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]