[mutter/wip/carlosg/backendless-clutter: 11/16] clutter: Drop dead X11 code




commit ad6b38610c1dadd094558e0738b4574900a1687c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon May 10 23:02:11 2021 +0200

    clutter: Drop dead X11 code
    
    We don't use the ClutterBackendX11 direct constructor.

 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 3d1856a970..52bb99c455 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 84db2e2541..64a2c2d78d 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__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]