1
0
Fork 0

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; backend_x11->last_event_time = CurrentTime;
} }
ClutterBackend *
clutter_backend_x11_new (void)
{
return g_object_new (CLUTTER_TYPE_BACKEND_X11, NULL);
}
static int static int
error_handler(Display *xdpy, error_handler(Display *xdpy,
XErrorEvent *error) XErrorEvent *error)

View file

@ -93,11 +93,6 @@ struct _ClutterBackendX11Class
CLUTTER_EXPORT CLUTTER_EXPORT
GType clutter_backend_x11_get_type (void) G_GNUC_CONST; 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 G_END_DECLS
#endif /* __CLUTTER_BACKEND_X11_H__ */ #endif /* __CLUTTER_BACKEND_X11_H__ */