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



commit 65b6f7cc6f1235b42f882a17eed1557032f9d9bc
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()

 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 1b59465522..6fd6b959d3 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -687,7 +687,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]