diff --git a/clutter/clutter/clutter-event.c b/clutter/clutter/clutter-event.c index 13f9263f6..7723c8504 100644 --- a/clutter/clutter/clutter-event.c +++ b/clutter/clutter/clutter-event.c @@ -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; diff --git a/clutter/clutter/clutter-event.h b/clutter/clutter/clutter-event.h index 89e4c01ad..282b9a68b 100644 --- a/clutter/clutter/clutter-event.h +++ b/clutter/clutter/clutter-event.h @@ -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