diff --git a/clutter/x11/clutter-backend-x11.c b/clutter/x11/clutter-backend-x11.c index 19a270635..5c5e96bb9 100644 --- a/clutter/x11/clutter-backend-x11.c +++ b/clutter/x11/clutter-backend-x11.c @@ -311,31 +311,6 @@ clutter_backend_x11_get_features (ClutterBackend *backend) return CLUTTER_FEATURE_STAGE_USER_RESIZE | CLUTTER_FEATURE_STAGE_CURSOR; } -static void -clutter_backend_x11_get_display_size (ClutterBackend *backend, - gint *width, - gint *height) -{ - ClutterBackendX11 *backend_x11 = CLUTTER_BACKEND_X11 (backend); - gint display_width, display_height; - - if (G_LIKELY (backend_x11->xdpy)) - { - display_width = DisplayWidth (backend_x11->xdpy, - backend_x11->xscreen_num); - display_height = DisplayHeight (backend_x11->xdpy, - backend_x11->xscreen_num); - } - else - display_width = display_height = 0; - - if (width) - *width = display_width; - - if (height) - *height = display_height; -} - static void clutter_backend_x11_class_init (ClutterBackendX11Class *klass) { @@ -351,7 +326,6 @@ clutter_backend_x11_class_init (ClutterBackendX11Class *klass) backend_class->init_events = clutter_backend_x11_init_events; backend_class->add_options = clutter_backend_x11_add_options; backend_class->get_features = clutter_backend_x11_get_features; - backend_class->get_display_size = clutter_backend_x11_get_display_size; } static void