Thank you for your bug report. What do you mean "the result is not compared to 0"?
the code does " if (!g_strcmp0(g_getenv("XDG_CURRENT_DESKTOP"), "GNOME")) {"
g_strcmp0() returns 0 if the strings match, or 0 = FALSE, so writting "!g_strcmp0..." is equivalent of "if strings match"
Thank you for your bug report. What do you mean "the result is not compared to 0"?
the code does g_getenv( "XDG_CURRENT_ DESKTOP" ), "GNOME")) {"
" if (!g_strcmp0(
g_strcmp0() returns 0 if the strings match, or 0 = FALSE, so writting "!g_strcmp0..." is equivalent of "if strings match"