From 26dce13c5242d6016a8c079f5da3c1b61db29f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 7 Sep 2022 12:21:56 +0200 Subject: [PATCH] x11-display: Remove init GDK method from public APi Part-of: --- src/meta/meta-x11-display.h | 3 --- src/x11/meta-x11-display.c | 6 ------ 2 files changed, 9 deletions(-) diff --git a/src/meta/meta-x11-display.h b/src/meta/meta-x11-display.h index eb84c2b20..bff6c69e0 100644 --- a/src/meta/meta-x11-display.h +++ b/src/meta/meta-x11-display.h @@ -32,9 +32,6 @@ META_EXPORT G_DECLARE_FINAL_TYPE (MetaX11Display, meta_x11_display, META, X11_DISPLAY, GObject) -META_EXPORT -gboolean meta_x11_init_gdk_display (GError **error); - META_EXPORT int meta_x11_display_get_screen_number (MetaX11Display *x11_display); diff --git a/src/x11/meta-x11-display.c b/src/x11/meta-x11-display.c index 2da1a44d0..f5e606dad 100644 --- a/src/x11/meta-x11-display.c +++ b/src/x11/meta-x11-display.c @@ -1098,12 +1098,6 @@ open_gdk_display (MetaDisplay *display, return gdk_display; } -gboolean -meta_x11_init_gdk_display (GError **error) -{ - return !!open_gdk_display (meta_get_display (), error); -} - static void on_window_visibility_updated (MetaDisplay *display, GList *placed_windows,