[gtk+] Drop deprecated gdk_display_get_screen
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop deprecated gdk_display_get_screen
- Date: Tue, 25 Oct 2016 19:38:59 +0000 (UTC)
commit 5cb3fc4c4f2e829a81fd68b175a0d073f21355a0
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 25 15:35:44 2016 -0400
Drop deprecated gdk_display_get_screen
docs/reference/gdk/gdk4-sections.txt | 1 -
gdk/gdkdisplay.c | 22 ----------------------
gdk/gdkdisplay.h | 3 ---
3 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 8a72583..c1d3e7d 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -100,7 +100,6 @@ GdkDisplay
gdk_display_open
gdk_display_get_default
gdk_display_get_name
-gdk_display_get_screen
gdk_display_get_default_screen
gdk_display_get_device_manager
gdk_display_pointer_ungrab
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 539304b..625804b 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1520,28 +1520,6 @@ gdk_display_get_name (GdkDisplay *display)
}
/**
- * gdk_display_get_screen:
- * @display: a #GdkDisplay
- * @screen_num: the screen number
- *
- * Returns a screen object for one of the screens of the display.
- *
- * Returns: (transfer none): the #GdkScreen object
- *
- * Since: 2.2
- * Deprecated: 3.20: There is only one screen; use gdk_display_get_default_screen() to get it.
- */
-GdkScreen *
-gdk_display_get_screen (GdkDisplay *display,
- gint screen_num)
-{
- g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
- g_return_val_if_fail (screen_num == 0, NULL);
-
- return gdk_display_get_default_screen (display);
-}
-
-/**
* gdk_display_get_default_screen:
* @display: a #GdkDisplay
*
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index 75e9845..4a7ca18 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -50,9 +50,6 @@ GdkDisplay *gdk_display_open (const gchar *display_name);
GDK_AVAILABLE_IN_ALL
const gchar * gdk_display_get_name (GdkDisplay *display);
-GDK_DEPRECATED_IN_3_20
-GdkScreen * gdk_display_get_screen (GdkDisplay *display,
- gint screen_num);
GDK_AVAILABLE_IN_ALL
GdkScreen * gdk_display_get_default_screen (GdkDisplay *display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]