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,