[gtk+] gdk: Drop gdk_x11_window_set_frame_extents
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Drop gdk_x11_window_set_frame_extents
- Date: Tue, 6 Feb 2018 06:19:12 +0000 (UTC)
commit 0fe3fafac15a23563373b0c44da01360877fe1ec
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 5 20:26:19 2018 +0100
gdk: Drop gdk_x11_window_set_frame_extents
This function is unused and has been deprecated
for a long time.
docs/reference/gdk/gdk4-sections.txt | 1 -
gdk/x11/gdkwindow-x11.c | 23 -----------------------
gdk/x11/gdkx11window.h | 6 ------
3 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index c3cf294..0f41547 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 c509cb2..3fcaae3 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -2990,29 +2990,6 @@ gdk_x11_window_set_shadow_width (GdkWindow *window,
}
/**
- * 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
* @variant: the theme variant to export
diff --git a/gdk/x11/gdkx11window.h b/gdk/x11/gdkx11window.h
index 46b141b..a9c1318 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]