From 1e84c00d86fd173cf848e94e0f92eb2f16a4b545 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 10 May 2021 23:02:11 +0200 Subject: [PATCH] clutter: Drop dead X11 code We don't use the ClutterBackendX11 direct constructor. Part-of: --- clutter/clutter/x11/clutter-backend-x11.c | 6 ------ clutter/clutter/x11/clutter-backend-x11.h | 5 ----- 2 files changed, 11 deletions(-) diff --git a/clutter/clutter/x11/clutter-backend-x11.c b/clutter/clutter/x11/clutter-backend-x11.c index 3d1856a97..52bb99c45 100644 --- a/clutter/clutter/x11/clutter-backend-x11.c +++ b/clutter/clutter/x11/clutter-backend-x11.c @@ -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) diff --git a/clutter/clutter/x11/clutter-backend-x11.h b/clutter/clutter/x11/clutter-backend-x11.h index 84db2e254..64a2c2d78 100644 --- a/clutter/clutter/x11/clutter-backend-x11.h +++ b/clutter/clutter/x11/clutter-backend-x11.h @@ -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__ */