Deprecate gdk_get_display()

This commit is contained in:
Benjamin Otte
2012-11-25 21:11:48 +01:00
parent cb2c47597e
commit f73bf26df0
2 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,9 @@ gdk_parse_args (int *argc,
* <option>--display</option> command line option.
*
* Returns: the name of the display.
*
* Deprecated: 3.8: Call gdk_display_get_name (gdk_display_get_default ()))
* instead.
*/
gchar *
gdk_get_display (void)

View File

@ -65,6 +65,7 @@ void gdk_error_trap_pop_ignored (void);
const gchar * gdk_get_display_arg_name (void);
GDK_DEPRECATED_IN_3_8_FOR(gdk_display_get_name (gdk_display_get_default ()))
gchar* gdk_get_display (void);
#ifndef GDK_MULTIDEVICE_SAFE