x11-display: Remove init GDK method from public APi

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718>
This commit is contained in:
Jonas Ådahl 2022-09-07 12:21:56 +02:00 committed by Marge Bot
parent e709853ad3
commit 26dce13c52
2 changed files with 0 additions and 9 deletions

View File

@ -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);

View File

@ -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,