NetworkManager/src/devices/wifi
Dan Winship 8e9f782082 core: fix interface type names
A GObject interface, like a class, has two different C types
associated with it; the type of the "class" struct (eg, GObjectClass,
GFileIface), and the type of instances of that class/interface (eg,
GObject, GFile).

NetworkManager was doing this wrong though, and using the same C type
to point to both the interface's class struct and to instances of the
interface. This ends up not actually breaking anything, since for
interface types, the instance type is a non-dereferenceable dummy type
anyway. But it's wrong, since if, eg, NMDeviceFactory is a struct type
containing members "start", "device_added", etc, then you should not
be using an NMDeviceFactory* to point to an object that does not
contain those members.

Fix this by splitting NMDeviceFactory into NMDeviceFactoryInterface
and NMDeviceFactory; by splitting NMConnectionProvider into
NMConnectionProviderInterface and NMConnectionProvider; and by
splitting NMSettingsPlugin into NMSettingsPluginInterface and
NMSettingsPlugin; and then use the right types in the right places.

As a bonus, this also lets us now use G_DEFINE_INTERFACE.
2015-09-10 13:43:47 -04:00
..
tests tests: fix 32-bit build 2015-09-04 12:49:54 +02:00
exports.ver core: move device factory type function into factory object 2014-09-11 12:47:23 -05:00
Makefile.am devices, active-connection: port to gdbus 2015-08-10 09:41:26 -04:00
nm-device-olpc-mesh.c devices, active-connection: port to gdbus 2015-08-10 09:41:26 -04:00
nm-device-olpc-mesh.h core: split device creation and device setup (bgo #737458) 2015-07-31 14:06:09 -05:00
nm-device-wifi.c core: accept 'ssids':aay option in RequestScan() dictionary parameter 2015-08-14 11:27:15 +02:00
nm-device-wifi.h core: split device creation and device setup (bgo #737458) 2015-07-31 14:06:09 -05:00
nm-wifi-ap-utils.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-wifi-ap-utils.h libnm-core: change all mac-address properties to G_TYPE_STRING 2014-09-04 09:20:10 -04:00
nm-wifi-ap.c devices, active-connection: port to gdbus 2015-08-10 09:41:26 -04:00
nm-wifi-ap.h core: move D-Bus export/unexport into NMExportedObject 2015-07-24 13:25:47 -04:00
nm-wifi-factory.c core: fix interface type names 2015-09-10 13:43:47 -04:00