summaryrefslogtreecommitdiff
path: root/gdk/gdkglobals.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-10 19:42:09 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:06:57 -0500
commitec9c97752d2f2043ad818833914760a7e443a53d (patch)
treed78b7357fc930533db464e1ec1263776b4a69033 /gdk/gdkglobals.c
parentfa4b54b6de4156403f413b95bdb48ab4bd9e20a4 (diff)
downloadgtk+-ec9c97752d2f2043ad818833914760a7e443a53d.tar.gz
Work toward turning GdkDisplayManager into a backend singleton
This commit hides the GdkDisplayManager instance and class structs, adds vfuncs for listing displays, opening displays, and getting and setting the default display. The X11 backend has a derived GdkDisplayManagerX11. The gdk_display_manager_get() function is responsible for deciding on which of the compiled in backends to use. Currently, it consults the GDK_BACKEND environment variable and falls back to x11.
Diffstat (limited to 'gdk/gdkglobals.c')
-rw-r--r--gdk/gdkglobals.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdk/gdkglobals.c b/gdk/gdkglobals.c
index 2a572981dc..5af484b93d 100644
--- a/gdk/gdkglobals.c
+++ b/gdk/gdkglobals.c
@@ -40,4 +40,3 @@ gchar *_gdk_display_arg_name = NULL;
gboolean _gdk_native_windows = FALSE;
gboolean _gdk_disable_multidevice = FALSE;
-GSList *_gdk_displays = NULL;