gdk: Remove deprecated gdk_get_display

This commit is contained in:
Rico Tzschichholz 2016-10-24 10:21:49 +02:00
parent 16ded8d47b
commit b12e3b5cf2
3 changed files with 0 additions and 24 deletions

View File

@ -16,9 +16,6 @@ gdk_set_allowed_backends
gdk_get_program_class
gdk_set_program_class
<SUBSECTION>
gdk_get_display
<SUBSECTION>
gdk_flush

View File

@ -401,24 +401,6 @@ gdk_parse_args (int *argc,
GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));
}
/**
* gdk_get_display:
*
* Gets the name of the display, which usually comes from the
* `DISPLAY` environment variable or the
* `--display` 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)
{
return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
}
/**
* gdk_get_display_arg_name:
*

View File

@ -78,9 +78,6 @@ void gdk_error_trap_pop_ignored (void);
GDK_AVAILABLE_IN_ALL
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);
GDK_AVAILABLE_IN_ALL
void gdk_set_double_click_time (guint msec);