gdk: Deprecate gdk_display_get_n_screens()

This commit is contained in:
Benjamin Otte 2013-04-04 16:22:48 +02:00
parent f8b017faa8
commit ae2208cd5d
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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);