summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkmain-win32.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/win32/gdkmain-win32.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/win32/gdkmain-win32.c')
-rw-r--r--gdk/win32/gdkmain-win32.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index e07c1ca548..ba04cdee43 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -189,15 +189,6 @@ gdk_display_beep (GdkDisplay *display)
}
void
-_gdk_windowing_exit (void)
-{
- _gdk_win32_dnd_exit ();
- CoUninitialize ();
- DeleteDC (_gdk_display_hdc);
- _gdk_display_hdc = NULL;
-}
-
-void
gdk_error_trap_push (void)
{
}