input-device: Make ClutterInputDeviceClass private

We keep the symbol in the public header, but the definition is now
private. You could not sub-class InputDevice anyway, without the
instance structure, and the lack of padding in the class made actually
implementing devices in backends really hard.
This commit is contained in:
Emmanuele Bassi
2011-01-17 16:56:07 +00:00
parent 001f84875a
commit 2777c52f27
2 changed files with 5 additions and 14 deletions

View File

@ -106,6 +106,11 @@ struct _ClutterInputDevice
guint has_cursor : 1;
};
struct _ClutterInputDeviceClass
{
GObjectClass parent_class;
};
/* device manager */
void _clutter_device_manager_add_device (ClutterDeviceManager *device_manager,
ClutterInputDevice *device);