ubuntu_show_titlebar.patch: XDG_CURRENT_DESKTOP is not correctly compared with GNOME
Bug #1277963 reported by
Matthieu Baerts
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hello,
Currently in ubuntu_
According to the GLib Reference Manual: just like "strcmp", this function returns an integer less than, equal to, or greater than zero, if str1 is <, == or > than str2.
Changed in nautilus (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
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"