app: s/getenv/g_getenv/ in gui_restore_after_callback()

(cherry picked from commit 65b6f7cc6f)
This commit is contained in:
Michael Natterer 2020-02-18 20:39:15 +01:00
parent 3a36ae49de
commit bb144065c7
1 changed files with 1 additions and 1 deletions

View File

@ -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);