[dconf-editor] Remove the SettingsBackend stuff.



commit cd2b4c0d28417d2123613d440ffdea9da31b7cc2
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Dec 15 05:23:27 2017 +0100

    Remove the SettingsBackend stuff.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791597

 editor/dconf-editor.vala |    6 +++---
 editor/meson.build       |    1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/editor/dconf-editor.vala b/editor/dconf-editor.vala
index c44d74c..58e3efd 100644
--- a/editor/dconf-editor.vala
+++ b/editor/dconf-editor.vala
@@ -251,10 +251,10 @@ class ConfigurationEditor : Gtk.Application
         Gdk.Screen? screen = Gdk.Screen.get_default ();
         return_if_fail (screen != null);
         Gtk.StyleContext.add_provider_for_screen ((!) screen, css_provider, 
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
-
-        test_backend ();
     }
 
+/*  TODO why calling this function makes the app crashy, even with '-DG_SETTINGS_ENABLE_BACKEND=1' (and even 
'-DGIO_COMPILATION=1') given?
+    https://bugzilla.gnome.org/show_bug.cgi?id=791597
     private static void test_backend ()
     {
         SettingsBackend? backend1 = SettingsBackend.get_default ();
@@ -269,7 +269,7 @@ class ConfigurationEditor : Gtk.Application
             warning (_("The backend used is unknown [%s], bad thing might happen.").printf (backend_name));
         else                                                // called by default or with 
GSETTINGS_BACKEND=dconf
             info (_("Looks like the DConf settings backend is used, all looks good."));
-    }
+    } */
 
     /*\
     * * Window activation
diff --git a/editor/meson.build b/editor/meson.build
index 54f82b4..b0febdf 100644
--- a/editor/meson.build
+++ b/editor/meson.build
@@ -118,7 +118,6 @@ cflags = [
   '-DVERSION="@0@"'.format(dconf_editor_version),
   '-DLOCALEDIR="@0@"'.format(dconf_editor_localedir),
   '-DGETTEXT_PACKAGE="@0@"'.format(dconf_editor_gettext),
-  '-DG_SETTINGS_ENABLE_BACKEND=1', '-DGIO_COMPILATION=1',
   '-w'
 ]
 


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