Remove deprecated gdk_display_get_n_screens

This commit is contained in:
Matthias Clasen 2016-10-25 15:21:46 -04:00
parent 0ca12fabf0
commit 78d0876c46
2 changed files with 0 additions and 22 deletions

View File

@ -1519,26 +1519,6 @@ gdk_display_get_name (GdkDisplay *display)
return GDK_DISPLAY_GET_CLASS (display)->get_name (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

View File

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