diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-01-06 23:36:44 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-01-19 19:52:51 +0100 |
commit | 07db0e38b0a50dfc94bf7b4f1a9c49fa68ee19b2 (patch) | |
tree | 1472a2d4ecb1f6e0670e9f3da4ea6051f61fd9f9 /gdk/gdkdisplaymanager.c | |
parent | 920e8b434367f9aa8aab306721cc024e66892e2e (diff) | |
download | gtk+-07db0e38b0a50dfc94bf7b4f1a9c49fa68ee19b2.tar.gz |
[broadway] Make broadway build with new gdk-backend setup
Convert all global functions to vtable calls, etc.
Diffstat (limited to 'gdk/gdkdisplaymanager.c')
-rw-r--r-- | gdk/gdkdisplaymanager.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c index 79ed85aebd..452f700058 100644 --- a/gdk/gdkdisplaymanager.c +++ b/gdk/gdkdisplaymanager.c @@ -44,6 +44,10 @@ #include "quartz/gdkquartzdisplaymanager.h" #endif +#ifdef GDK_WINDOWING_BROADWAY +#include "broadway/gdkbroadwaydisplaymanager.h" +#endif + #ifdef GDK_WINDOWING_WIN32 #include "win32/gdkwin32.h" #endif @@ -203,6 +207,11 @@ gdk_display_manager_get (void) manager = g_object_new (gdk_win32_display_manager_get_type (), NULL); else #endif +#ifdef GDK_WINDOWING_BROADWAY + if (backend == NULL || strcmp (backend, "broadway") == 0) + manager = g_object_new (gdk_broadway_display_manager_get_type (), NULL); + else +#endif if (backend != NULL) g_error ("Unsupported GDK backend: %s", backend); else |