clutter: Drop dead X11 code

We don't use the ClutterBackendX11 direct constructor.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1862>
This commit is contained in:
Carlos Garnacho 2021-05-10 23:02:11 +02:00
parent 7fcc7a6edb
commit 1e84c00d86
2 changed files with 0 additions and 11 deletions

View File

@ -534,12 +534,6 @@ clutter_backend_x11_init (ClutterBackendX11 *backend_x11)
backend_x11->last_event_time = CurrentTime;
}
ClutterBackend *
clutter_backend_x11_new (void)
{
return g_object_new (CLUTTER_TYPE_BACKEND_X11, NULL);
}
static int
error_handler(Display *xdpy,
XErrorEvent *error)

View File

@ -93,11 +93,6 @@ struct _ClutterBackendX11Class
CLUTTER_EXPORT
GType clutter_backend_x11_get_type (void) G_GNUC_CONST;
ClutterBackend *clutter_backend_x11_new (void);
/* Private to glx/eglx backends */
void _clutter_x11_select_events (Window xwin);
G_END_DECLS
#endif /* __CLUTTER_BACKEND_X11_H__ */