[gtk+] Remove deprecated gdk_display_get_n_screens
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove deprecated gdk_display_get_n_screens
- Date: Tue, 25 Oct 2016 19:24:54 +0000 (UTC)
commit 78d0876c46ffb51d06513495e4eccd6ad6bb2542
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 25 15:21:46 2016 -0400
Remove deprecated gdk_display_get_n_screens
gdk/gdkdisplay.c | 20 --------------------
gdk/gdkdisplay.h | 2 --
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index bd9d152..539304b 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1520,26 +1520,6 @@ gdk_display_get_name (GdkDisplay *display)
}
/**
- * gdk_display_get_n_screens:
- * @display: a #GdkDisplay
- *
- * Gets the number of screen managed by the @display.
- *
- * Returns: number of screens.
- *
- * Since: 2.2
- *
- * Deprecated: 3.10: The number of screens is always 1.
- */
-gint
-gdk_display_get_n_screens (GdkDisplay *display)
-{
- g_return_val_if_fail (GDK_IS_DISPLAY (display), 0);
-
- return 1;
-}
-
-/**
* gdk_display_get_screen:
* @display: a #GdkDisplay
* @screen_num: the screen number
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index 3f8376f..75e9845 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -50,8 +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_10
-gint gdk_display_get_n_screens (GdkDisplay *display);
GDK_DEPRECATED_IN_3_20
GdkScreen * gdk_display_get_screen (GdkDisplay *display,
gint screen_num);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]