[gimp] app: s/getenv/g_getenv/ in gui_restore_after_callback()



commit bb144065c7d560e22e04ef5561b3ae6563c1fa65
Author: Michael Natterer <mitch gimp org>
Date:   Tue Feb 18 20:39:15 2020 +0100

    app: s/getenv/g_getenv/ in gui_restore_after_callback()
    
    (cherry picked from commit 65b6f7cc6f1235b42f882a17eed1557032f9d9bc)

 app/gui/gui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index 522fa7f684..734623a440 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -653,7 +653,7 @@ gui_restore_after_callback (Gimp               *gimp,
           menu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (menu));
 
         /* do not activate OSX menu if tests are running */
-        if (! getenv ("GIMP_TESTING_ABS_TOP_SRCDIR"))
+        if (! g_getenv ("GIMP_TESTING_ABS_TOP_SRCDIR"))
           gtkosx_application_set_menu_bar (osx_app, GTK_MENU_SHELL (menu));
 
         gtkosx_application_set_use_quartz_accelerators (osx_app, FALSE);


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