- if (g_str_equal (res_name, "evolution"))
+ if (g_strcmp0 (res_name, "evolution"))
g_str_equal() returns TRUE for identical strings, while g_strcmp0() returns 0 for identical strings, which is considered as "false". I don't see anywhere in the bug trail the intent to negate the condition.
The patch looks weird to me:
- if (g_str_equal (res_name, "evolution"))
+ if (g_strcmp0 (res_name, "evolution"))
g_str_equal() returns TRUE for identical strings, while g_strcmp0() returns 0 for identical strings, which is considered as "false". I don't see anywhere in the bug trail the intent to negate the condition.