[gupnp-tools/wip/search: 31/33] av-cp: Save a copy of the DIDL object



commit 94fc2f9e57cd850cf2b0ff0dd2269e26fe0b2379
Author: Jens Georg <mail jensge org>
Date:   Mon Sep 5 18:57:18 2016 +0200

    av-cp: Save a copy of the DIDL object
    
    Signed-off-by: Jens Georg <mail jensge org>

 data/search-dialog.ui     |    2 ++
 src/av-cp/search-dialog.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/search-dialog.ui b/data/search-dialog.ui
index 8be4ed5..ae0bb87 100644
--- a/data/search-dialog.ui
+++ b/data/search-dialog.ui
@@ -8,6 +8,8 @@
       <column type="GdkPixbuf"/>
       <!-- column-name title -->
       <column type="gchararray"/>
+      <!-- column-name didl-lite-object -->
+      <column type="GObject"/>
     </columns>
   </object>
   <template class="SearchDialog" parent="GtkDialog">
diff --git a/src/av-cp/search-dialog.c b/src/av-cp/search-dialog.c
index 0015966..fa8dab4 100644
--- a/src/av-cp/search-dialog.c
+++ b/src/av-cp/search-dialog.c
@@ -320,6 +320,7 @@ search_task_on_didl_object_available (GUPnPDIDLLiteParser *parser,
                                            -1,
                                            0, get_item_icon (object),
                                            1, gupnp_didl_lite_object_get_title (object),
+                                           2, g_object_ref (object),
                                            -1);
 }
 


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