1
0
Fork 0

clutter: Drop clutter_event_new() from public headers

This is a leftover of the port to immutable events, and should
not be used.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3511>
This commit is contained in:
Carlos Garnacho 2023-10-30 13:04:14 +01:00 committed by Marge Bot
parent bca62e6ec2
commit bd387a6308
2 changed files with 1 additions and 11 deletions

View file

@ -809,15 +809,7 @@ clutter_event_get_device_tool (const ClutterEvent *event)
}
}
/**
* clutter_event_new:
* @type: The type of event.
*
* Creates a new #ClutterEvent of the specified type.
*
* Return value: (transfer full): A newly allocated #ClutterEvent.
*/
ClutterEvent *
static ClutterEvent *
clutter_event_new (ClutterEventType type)
{
ClutterEvent *new_event;

View file

@ -148,8 +148,6 @@ guint clutter_event_add_filter (ClutterStage
CLUTTER_EXPORT
void clutter_event_remove_filter (guint id);
CLUTTER_EXPORT
ClutterEvent * clutter_event_new (ClutterEventType type);
CLUTTER_EXPORT
ClutterEvent * clutter_event_copy (const ClutterEvent *event);
CLUTTER_EXPORT