Skip to content
  • LRN's avatar
    GWin32VolumeMonitor: Sort the volumes correctly · 0c16230b
    LRN authored
    Use a static GQueue to form the GList of mounts by appending (which
    is fast, because GQueue tracks the tail pointer of its internal GList),
    then return that GList. This way we don't need to form the list
    by prepending, which would have made it necessary to reverse it before
    returning.
    
    If the list is not ordered correctly, local drives in GTK places sidebar
    are shown in reverse order.
    0c16230b