[Galago-devel] org.freedesktop.Notifications GetServerInformation

Michael Leibowitz michael.leibowitz at intel.com
Tue Sep 1 17:45:21 PDT 2009


Hi,

I've noticed an inconsistency in the prototype for GetServerInformation
and what the spec reports.  The 0.9 version of the spec reports
introspection XML as follows:
    <method name="GetServerInformation">
      <arg type="s" name="return_name" direction="out"/>
      <arg type="s" name="return_vendor" direction="out"/>
      <arg type="s" name="return_version" direction="out"/>
    </method>

However, the 0.3.xx versions of notification daemon has introspection
XML as follows:
    <method name="GetServerInformation">
      <arg type="s" name="return_name" direction="out"/>
      <arg type="s" name="return_vendor" direction="out"/>
      <arg type="s" name="return_version" direction="out"/>
      <arg type="s" name="return_spec_version" direction="out"/>
    </method>

Additionally, 0.3.xx versions report the spec version as 0.9.  This is
not what is specified in the 0.9 specification, as seen above.

The 0.4.0 version reports the specification version as 1.0, which
doesn't appear at http://www.galago-project.org/specs/notification/

I have to say that changing the prototype of GetServerInformation seems
prone to problems.  If the client is adherent to the 0.9 or 0.7 version
of the spec, then they are broken out of the box or they have to parse
introspection information to figure which prototype of
GetServerInformation to call.  This is, surely, not the desired effect.

Perhaps somebody would like to make an amended 0.9 spec with the
de-facto prototype?  Would it be possible to release the 1.0 spec?  

Thanks





-- 
Michael Leibowitz <michael.leibowitz at intel.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4136 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/galago-devel/attachments/20090901/c86637c2/attachment.bin 


More information about the galago-devel mailing list