1
0
Fork 0

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:
Carlos Garnacho 2023-08-17 14:21:01 +02:00 committed by Marge Bot
parent 7f7bcf1f5d
commit 02e90f4358
2 changed files with 0 additions and 17 deletions

View file

@ -163,9 +163,6 @@ gboolean _clutter_event_process_filters (ClutterEvent *event,
/* clears the event queue inside the main context */ /* clears the event queue inside the main context */
void _clutter_clear_events_queue (void); void _clutter_clear_events_queue (void);
CLUTTER_EXPORT
gpointer _clutter_event_get_platform_data (const ClutterEvent *event);
CLUTTER_EXPORT CLUTTER_EXPORT
void _clutter_event_push (const ClutterEvent *event, void _clutter_event_push (const ClutterEvent *event,
gboolean do_copy); gboolean do_copy);

View file

@ -325,20 +325,6 @@ G_DEFINE_BOXED_TYPE (ClutterEventSequence, clutter_event_sequence,
clutter_event_sequence_copy, clutter_event_sequence_copy,
clutter_event_sequence_free); 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: * clutter_event_type:
* @event: a #ClutterEvent * @event: a #ClutterEvent