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:
@ -97,20 +97,6 @@ typedef enum {
|
||||
CLUTTER_INPUT_AXIS_WHEEL
|
||||
} ClutterInputAxis;
|
||||
|
||||
/**
|
||||
* ClutterInputDeviceClass:
|
||||
*
|
||||
* The #ClutterInputDeviceClass structure contains only private
|
||||
* data and should not be accessed directly
|
||||
*
|
||||
* Since: 1.2
|
||||
*/
|
||||
struct _ClutterInputDeviceClass
|
||||
{
|
||||
/*< private >*/
|
||||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
GType clutter_input_device_get_type (void) G_GNUC_CONST;
|
||||
|
||||
ClutterInputDeviceType clutter_input_device_get_device_type (ClutterInputDevice *device);
|
||||
|
Reference in New Issue
Block a user