Don't use a custom contains function for list

Bug #1508378 reported by xapantu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Switchboard Network Plug
Fix Released
Medium
Adam Bieńkowski

Bug Description

There is currently some code in Utils to do a "List.contains" manually.

The code should just use http://valadoc.org/#!api=glib-2.0/GLib.List.find, which returns null if the element is not in the list.

Related branches

Changed in switchboard-plug-networking:
assignee: nobody → Adam Bieńkowski (donadigo)
status: New → In Progress
xapantu (xapantu)
Changed in switchboard-plug-networking:
status: In Progress → Fix Committed
Changed in switchboard-plug-networking:
milestone: none → loki-alpha1
Cody Garver (codygarver)
Changed in switchboard-plug-networking:
importance: Undecided → Medium
Cody Garver (codygarver)
Changed in switchboard-plug-networking:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.