• António Fernandes's avatar
    general: Don't iterate GList to check for empty · 02be3ec3
    António Fernandes authored
    According to `g_list_length()` API documentaion: "To check whether
    the list is non-empty, it is faster to check list against NULL."
    
    Checking `GList`s against `NULL` is already common in this codebase.
    
    Weed out the few checks of `g_list_length()` against `0` or `< 1`.
    
    Closes #241
    02be3ec3
nautilus-progress-persistence-handler.c 11.1 KB