Comment 1 for bug 1277963

Revision history for this message
Sebastien Bacher (seb128) wrote :

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"