Function

Gdkget_display

deprecated: 3.8 

Declaration [src]

gchar*
gdk_get_display (
  void
)

Description [src]

Gets the name of the display, which usually comes from the DISPLAY environment variable or the --display command line option.

Deprecated since: 3.8

Call gdk_display_get_name (gdk_display_get_default ())) instead.

Return value

Type: gchar*

The name of the display.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.