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:
parent
bca62e6ec2
commit
bd387a6308
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user