[mutter/wayland] meta-wayland: Use meta_clutter_init
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] meta-wayland: Use meta_clutter_init
- Date: Tue, 1 Apr 2014 03:49:50 +0000 (UTC)
commit 521125b672fbde33090f1c67b5051db2fd8404a3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Mar 31 23:04:44 2014 -0400
meta-wayland: Use meta_clutter_init
src/wayland/meta-wayland.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index d27ea8d..2e56353 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -37,6 +37,8 @@
#include <wayland-server.h>
+#include "backends/meta-backend.h"
+
#include "meta-wayland-private.h"
#include "meta-xwayland-private.h"
#include "meta-wayland-stage.h"
@@ -634,8 +636,7 @@ meta_wayland_init (void)
compositor->launcher = meta_launcher_new ();
#endif
- if (clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS)
- g_error ("Failed to initialize Clutter");
+ meta_clutter_init ();
meta_monitor_manager_initialize ();
monitors = meta_monitor_manager_get ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]