On Fri, 2016-11-11 at 11:42 +0100, Michael Hirmke wrote: > Hi *, > > last week I updated my system from openSuSE Leap 42.1 to 42.2 RC2. > Since then my networkmanager dbus script gives an error: > > org.freedesktop.DBus.Error.UnknownMethod: Method "GetAllDevices" with > signature "" on interface "org.freedesktop.NetworkManager" doesn't > exist > > Was this method removed from the interface between nm 1.0.6 and > 1.0.12? > Where can I find the new interface description? > https://developer.gnome.org/NetworkManager/stable/gdbus-org.freedeskt > op.NetworkManager.html#gdbus-method-org-freedesktop- > NetworkManager.GetAllDevices > still describes this method! >
Hi Michael, we don't break D-Bus API, unless a bug happens or it is ~really~ necessary. GetAllDevices() was only added with 1.2.0. Use instead GetDevices(), the difference is only that GetAllDevices() gives you "unrealized" devices too. Which is a bit obscure, you probably don't want that anyway. https://developer.gnome.org/NetworkManager/1.0/ https://developer.gnome.org/NetworkManager/1.2/ https://developer.gnome.org/NetworkManager/stable/ https://developer.gnome.org/NetworkManager/unstable/ Thomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
