[Tizen-submit] 2406: Changes to Tizen:2.0:IVI/gupnp

noreply at tizen.org noreply at tizen.org
Thu Apr 4 15:00:10 GMT 2013


Hi,
Regis Merlino have made the following changes to gupnp in project Tizen:2.0:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #2406

  submit:       Tizen:2.0:IVI:build/gupnp(cleanup) -> Tizen:2.0:IVI


Message:
Submitter: Regis Merlino <regis.merlino at intel.com>
Comments: “submit/2.0/20130404.150022”
Git project: profile/ivi/GUPnP
Tag: submit/2.0/20130404.150022
Commit: 3b538ef Update Changelog

State:   new        2013-04-04T07:34:00 tizenrobot
Comment: <no comment>
changes files:
--------------
--- GUPnP.changes
+++ GUPnP.changes
@@ -0,0 +1,3 @@
+* Thu Apr 04 2013 Regis Merlino <regis.merlino at intel.com>
+- Fix browsing of WMP DMS running on Windows 7
+

spec files:
-----------
--- GUPnP.spec
+++ GUPnP.spec
@@ -9,7 +9,7 @@
 Summary:    GUPnP is an framework for creating UPnP devices & control points
 Version:    0.20.1
 Release:    1
-VCS:        profile/ivi/GUPnP#submit/2.0/20130320.125628-0-g553be30
+VCS:        profile/ivi/GUPnP#submit/2.0/20130404.150022-0-g3b538ef
 Group:      System/Libraries
 License:    LGPLv2+
 URL:        http://www.gupnp.org/

other changes:
--------------

++++++ gupnp-0.20.1.tar.bz2
--- /libgupnp/gupnp-service-proxy.c
+++ /libgupnp/gupnp-service-proxy.c
@@ -461,7 +461,7 @@
 /* Initializes hash table to hold arg names as keys and GValues of
  * given type and value.
  */
-#define VAR_ARGS_TO_IN_HASH_TABLE(var_args, hash) \
+#define VAR_ARGS_TO_IN_LIST(var_args, names, values) \
         G_STMT_START { \
                 const gchar *arg_name = va_arg (var_args, const gchar *); \
          \
@@ -476,7 +476,8 @@
                                               G_VALUE_NOCOPY_CONTENTS, \
                                               &error); \
                         if (error == NULL) { \
-                                g_hash_table_insert (hash, g_strdup (arg_name), value); \
+                                names = g_list_prepend (names, g_strdup (arg_name)); \
+                                values = g_list_prepend (values, value); \
                         } else { \
                                 g_warning ("Failed to collect value of type %s for %s: %s", \
                                            g_type_name (type), \
@@ -486,6 +487,8 @@
                         } \
                         arg_name = va_arg (var_args, const gchar *); \
                 } \
+                names = g_list_reverse (names); \
+                values = g_list_reverse (values); \
         } G_STMT_END
 
 /* Puts values stored in hash table with GValues into var args.
@@ -552,20 +555,22 @@
                                         GError           **error,
                                         va_list            var_args)
 {
-        GHashTable *in_hash;
-        GHashTable *out_hash;
+        GList *in_names = NULL, *in_values = NULL;
+        GHashTable *out_hash = NULL;
         va_list var_args_copy;
         gboolean result;
         GError *local_error;
+        GMainLoop *main_loop;
+        GUPnPServiceProxyAction *handle;
 
         g_return_val_if_fail (GUPNP_IS_SERVICE_PROXY (proxy), FALSE);
         g_return_val_if_fail (action, FALSE);
 
-        in_hash = g_hash_table_new_full (g_str_hash,
-                                         g_str_equal,
-                                         g_free,
-                                         value_free);
-        VAR_ARGS_TO_IN_HASH_TABLE (var_args, in_hash);
+
+        main_loop = g_main_loop_new (g_main_context_get_thread_default (),
+                                     TRUE);
+
+        VAR_ARGS_TO_IN_LIST (var_args, in_names, in_values);
         G_VA_COPY (var_args_copy, var_args);
         out_hash = g_hash_table_new_full (g_str_hash,

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list