From 3186e45ae5458ddcb479da47648f8d51349424d8 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 24 Oct 2019 16:27:52 -0400 Subject: [PATCH] cogl: Remove unused cogl_xlib_renderer_get_visual_info https://gitlab.gnome.org/GNOME/mutter/merge_requests/885 --- cogl/cogl/cogl-xlib-renderer.c | 12 ------------ cogl/cogl/cogl-xlib-renderer.h | 6 ------ 2 files changed, 18 deletions(-) diff --git a/cogl/cogl/cogl-xlib-renderer.c b/cogl/cogl/cogl-xlib-renderer.c index 704aba894..9ee9d6a47 100644 --- a/cogl/cogl/cogl-xlib-renderer.c +++ b/cogl/cogl/cogl-xlib-renderer.c @@ -632,15 +632,3 @@ _cogl_xlib_renderer_output_for_rectangle (CoglRenderer *renderer, return max_overlapped; } - -XVisualInfo * -cogl_xlib_renderer_get_visual_info (CoglRenderer *renderer) -{ - CoglXlibRenderer *xlib_renderer; - - g_return_val_if_fail (cogl_is_renderer (renderer), NULL); - - xlib_renderer = _cogl_xlib_renderer_get_data (renderer); - - return xlib_renderer->xvisinfo; -} diff --git a/cogl/cogl/cogl-xlib-renderer.h b/cogl/cogl/cogl-xlib-renderer.h index dd495dbc5..7e2727ab7 100644 --- a/cogl/cogl/cogl-xlib-renderer.h +++ b/cogl/cogl/cogl-xlib-renderer.h @@ -151,12 +151,6 @@ cogl_xlib_renderer_set_foreign_display (CoglRenderer *renderer, Display * cogl_xlib_renderer_get_display (CoglRenderer *renderer); -/** - * cogl_xlib_renderer_get_visual_info: (skip) - */ -XVisualInfo * -cogl_xlib_renderer_get_visual_info (CoglRenderer *renderer); - /** * cogl_xlib_renderer_request_reset_on_video_memory_purge: (skip) * @renderer: a #CoglRenderer