GNOME Bugzilla – Bug 720963
nm-devices.xml dbus type error
Last modified: 2014-04-25 16:58:09 UTC
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/introspection/nm-device.xml?id=0.9.8.8#n54 The Ip4Address's type should be "u". According to the org.freedesktop.DBus.Introspector's result it should be an "u" instead of "i".
Created attachment 264808 [details] [review] introspection: fix Device.Ip4Address type
(In reply to comment #1) > Created an attachment (id=264808) [details] [review] > introspection: fix Device.Ip4Address type What are the consequences of changing the type? (regarding breaking changes). Also, if you apply this patch, you might want to do it for master too (although, this property got deprecated in the meantime).
(In reply to comment #2) > What are the consequences of changing the type? (regarding breaking changes). This doesn't change the type of the data (which is unsigned in both src/devices/nm-device.c and libnm-glib/nm-device.c), it merely fixes the introspection data to match reality. (And dbus-glib doesn't use the type data from the introspection for handling properties, so there won't be any changes in how it gets processed internally within NM either. It is possible that some other non-dbus-glib-based library might have been mishandling the property before, and will now start handling it correctly.) > Also, if you apply this patch, you might want to do it for master too > (although, this property got deprecated in the meantime). Oh, I was only planning to apply it to master.
Review of attachment 264808 [details] [review]: Looks good to me.