clutter: Drop _clutter_event_get_platform_data()
This is not ever set, and unused in backends. This may be safely removed. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3190>
This commit is contained in:
parent
7f7bcf1f5d
commit
02e90f4358
2 changed files with 0 additions and 17 deletions
|
@ -163,9 +163,6 @@ gboolean _clutter_event_process_filters (ClutterEvent *event,
|
|||
/* clears the event queue inside the main context */
|
||||
void _clutter_clear_events_queue (void);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
gpointer _clutter_event_get_platform_data (const ClutterEvent *event);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
void _clutter_event_push (const ClutterEvent *event,
|
||||
gboolean do_copy);
|
||||
|
|
|
@ -325,20 +325,6 @@ G_DEFINE_BOXED_TYPE (ClutterEventSequence, clutter_event_sequence,
|
|||
clutter_event_sequence_copy,
|
||||
clutter_event_sequence_free);
|
||||
|
||||
/*
|
||||
* _clutter_event_get_platform_data:
|
||||
* @event: a #ClutterEvent
|
||||
*
|
||||
* Retrieves the pointer to platform-specific data inside an event
|
||||
*
|
||||
* Return value: a pointer to platform-specific data
|
||||
*/
|
||||
gpointer
|
||||
_clutter_event_get_platform_data (const ClutterEvent *event)
|
||||
{
|
||||
return ((ClutterEventPrivate *) event)->platform_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_event_type:
|
||||
* @event: a #ClutterEvent
|
||||
|
|
Loading…
Reference in a new issue