[sushi] mainWindow: specify GdkX11 version to 3.0
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] mainWindow: specify GdkX11 version to 3.0
- Date: Sat, 11 Feb 2017 23:17:48 +0000 (UTC)
commit 9abfea53f833a16a5abca194380814cdd8f96761
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Feb 11 15:16:24 2017 -0800
mainWindow: specify GdkX11 version to 3.0
Or the 4.0 version may try to get loaded on a system that has both.
src/js/ui/mainWindow.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index a2271d2..48ad33d 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -23,6 +23,8 @@
*
*/
+imports.gi.versions.GdkX11 = '3.0';
+
const Clutter = imports.gi.Clutter;
const ClutterGdk = imports.gi.ClutterGdk;
const Gdk = imports.gi.Gdk;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]