diff options
author | Hans Breuer <hans@breuer.org> | 2011-01-02 11:51:25 +0100 |
---|---|---|
committer | Hans Breuer <hans@breuer.org> | 2011-01-02 13:33:04 +0100 |
commit | 1d838f586c574af7f05c618a337f8d34a58d9125 (patch) | |
tree | ab25d802d10e11fa989ebe792b1abfbc5652af88 /gdk/gdkdisplaymanager.c | |
parent | fc122305d085d3f9b33e15a4d3383bf6c06c02ad (diff) | |
download | gtk+-1d838f586c574af7f05c618a337f8d34a58d9125.tar.gz |
win32: gdk3 resurrection
There are sure regressions but basic stuff seems to be working
again after all the API breakage done with comments like
"Win32 and Quartz need to be ported still."
Diffstat (limited to 'gdk/gdkdisplaymanager.c')
-rw-r--r-- | gdk/gdkdisplaymanager.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c index c9c5d3c470..79ed85aebd 100644 --- a/gdk/gdkdisplaymanager.c +++ b/gdk/gdkdisplaymanager.c @@ -44,6 +44,9 @@ #include "quartz/gdkquartzdisplaymanager.h" #endif +#ifdef GDK_WINDOWING_WIN32 +#include "win32/gdkwin32.h" +#endif /** * SECTION:gdkdisplaymanager @@ -195,6 +198,11 @@ gdk_display_manager_get (void) manager = g_object_new (gdk_quartz_display_manager_get_type (), NULL); else #endif +#ifdef GDK_WINDOWING_WIN32 + if (backend == NULL || strcmp (backend, "win32") == 0) + manager = g_object_new (gdk_win32_display_manager_get_type (), NULL); + else +#endif if (backend != NULL) g_error ("Unsupported GDK backend: %s", backend); else |