[nautilus] main: remove g_desktop_app_info_set_desktop_env



commit 0e3114106099505f496da8af4a2db13123652f7a
Author: Razvan Chitu <razvan ch95 gmail com>
Date:   Fri Feb 19 11:49:45 2016 +0200

    main: remove g_desktop_app_info_set_desktop_env
    
    The environment variable used in present is XDG_CURRENT_DESKTOP.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762248

 src/nautilus-main.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-main.c b/src/nautilus-main.c
index fdbc0be..b719007 100644
--- a/src/nautilus-main.c
+++ b/src/nautilus-main.c
@@ -74,9 +74,6 @@ main (int argc, char *argv[])
        mallopt (M_MMAP_THRESHOLD, 128 *1024);
 #endif
 
-       /* This will be done by gtk+ later, but for now, force it to GNOME */
-       g_desktop_app_info_set_desktop_env ("GNOME");
-
        if (g_getenv ("NAUTILUS_DEBUG") != NULL) {
                eel_make_warnings_and_criticals_stop_in_debugger ();
        }


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