[gnome-photos] dlna: Update DBus signature after dleyna-renderer ABI fix



commit 8b9c63f01bfe084f82e4d7c5e39c5d3143cffe72
Author: Emanuele Aina <emanuele aina collabora com>
Date:   Wed Aug 21 15:33:56 2013 +0200

    dlna: Update DBus signature after dleyna-renderer ABI fix
    
    dleyna-renderer has fixed some of its method and signal signatures to
    correctly mark object paths with the 'o' type instead of plain strings
    (see https://github.com/01org/dleyna-renderer/commit/3a225c3).
    
    Even if no proper code change would be needed as both 's' and 'o' are
    represented as gchar*, this unfortunately means that the generated DBus
    methods will fail to validate the incoming data.
    
    Since this is a new feature not yet part of any stable release and since
    Photos gracefully handles the validation error by disabling the feature
    on startup, no proper transition has been put in place and having a
    small flag day seemed an acceptable choice.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706502

 src/photos-dleyna-renderer-manager.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-dleyna-renderer-manager.xml b/src/photos-dleyna-renderer-manager.xml
index d651352..9d06a8f 100644
--- a/src/photos-dleyna-renderer-manager.xml
+++ b/src/photos-dleyna-renderer-manager.xml
@@ -29,17 +29,17 @@
     <method name="Release">
     </method>
     <method name="GetRenderers">
-      <arg type="as" name="Renderers" direction="out">
+      <arg type="ao" name="Renderers" direction="out">
       </arg>
     </method>
     <method name="Rescan">
     </method>
     <signal name="FoundRenderer">
-      <arg type="s" name="Path">
+      <arg type="o" name="Path">
       </arg>
     </signal>
     <signal name="LostRenderer">
-      <arg type="s" name="Path">
+      <arg type="o" name="Path">
       </arg>
     </signal>
   </interface>


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