[gnome-maps] Revert "application: Prefer X11 and Wayland backends over GDK"



commit faa4ec37b12e1e586e16d682c30886e7e8a17c6e
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Wed Feb 24 10:53:55 2016 +0100

    Revert "application: Prefer X11 and Wayland backends over GDK"
    
    This reverts commit 7e5678d8ad7c5ef9d387ee38103534a0a375f4fd.
    
    The commit caused segfaults in continous:
       "Clutter-Gtk-ERROR **: *** Unsupported backend."

 src/application.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 2d6b023..5a452ee 100644
--- a/src/application.js
+++ b/src/application.js
@@ -20,7 +20,6 @@
  *         Zeeshan Ali (Khattak) <zeeshanak gnome org>
  */
 
-const Clutter = imports.gi.Clutter;
 const GLib = imports.gi.GLib;
 const GObject = imports.gi.GObject;
 const Gio = imports.gi.Gio;
@@ -219,7 +218,6 @@ const Application = new Lang.Class({
     vfunc_startup: function() {
         this.parent();
 
-        Clutter.set_windowing_backend('x11,wayland,*');
         GtkClutter.init(null);
 
         Utils.loadStyleSheet(Gio.file_new_for_uri('resource:///org/gnome/Maps/application.css'));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]