[gtk+] gdk: Deprecate gdk_display_get_n_screens()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Deprecate gdk_display_get_n_screens()
- Date: Sat, 6 Apr 2013 08:48:29 +0000 (UTC)
commit ae2208cd5d25f1f2ab9f7330fd6683cab9e8c33a
Author: Benjamin Otte <otte redhat com>
Date: Thu Apr 4 16:22:48 2013 +0200
gdk: Deprecate gdk_display_get_n_screens()
gdk/gdkdisplay.c | 2 ++
gdk/gdkdisplay.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 1cec8bb..44dc9d4 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1424,6 +1424,8 @@ gdk_display_get_name (GdkDisplay *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)
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index c0566e7..e380028 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -45,6 +45,7 @@ GdkDisplay *gdk_display_open (const gchar *display_name);
const gchar * gdk_display_get_name (GdkDisplay *display);
+GDK_DEPRECATED_IN_3_10
gint gdk_display_get_n_screens (GdkDisplay *display);
GdkScreen * gdk_display_get_screen (GdkDisplay *display,
gint screen_num);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]