diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index c3cf29404e..0f41547169 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -851,7 +851,6 @@ gdk_x11_window_move_to_current_desktop gdk_x11_window_move_to_desktop gdk_x11_window_get_desktop gdk_x11_window_set_utf8_property -gdk_x11_window_set_frame_extents gdk_x11_window_set_frame_sync_enabled gdk_x11_keymap_get_group_for_state gdk_x11_keymap_key_is_modifier diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index c509cb2073..3fcaae3591 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -2989,29 +2989,6 @@ gdk_x11_window_set_shadow_width (GdkWindow *window, (guchar *) &data, 4); } -/** - * gdk_x11_window_set_frame_extents: - * @window: (type GdkX11Window): a #GdkWindow - * @left: The left extent - * @right: The right extent - * @top: The top extent - * @bottom: The bottom extent - * - * This is the same as gdk_window_set_shadow_width() but it only works - * on GdkX11Window. - * - * Deprecated: 3.12: Use gdk_window_set_shadow_width() instead. - */ -void -gdk_x11_window_set_frame_extents (GdkWindow *window, - int left, - int right, - int top, - int bottom) -{ - gdk_x11_window_set_shadow_width (window, left, right, top, bottom); -} - /** * gdk_x11_window_set_theme_variant: * @window: (type GdkX11Window): a #GdkWindow diff --git a/gdk/x11/gdkx11window.h b/gdk/x11/gdkx11window.h index 46b141b5ea..a9c13189fc 100644 --- a/gdk/x11/gdkx11window.h +++ b/gdk/x11/gdkx11window.h @@ -65,12 +65,6 @@ void gdk_x11_window_set_utf8_property (GdkWindow *window, GDK_AVAILABLE_IN_ALL void gdk_x11_window_set_theme_variant (GdkWindow *window, const char *variant); -GDK_DEPRECATED_FOR(gdk_window_set_shadow_width) -void gdk_x11_window_set_frame_extents (GdkWindow *window, - int left, - int right, - int top, - int bottom); GDK_AVAILABLE_IN_ALL void gdk_x11_window_move_to_current_desktop (GdkWindow *window);