* Use an array for keeping track of observers. This means that observers which...
commit776c510097549f8e911a1f592174152549981b8e
authorEvan Schoenberg <evan@adiumx.com>
Mon, 14 Jan 2008 04:05:49 +0000 (14 04:05 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Mon, 14 Jan 2008 04:05:49 +0000 (14 04:05 +0000)
treed82bfcd631c911df9c9f45e26bdb774f33d3330d
parente9ebc512722a26584aa5bebd410b4c1fa6573d16
 * Use an array for keeping track of observers.  This means that observers which register earlier will be notified earlier; a plugin will therefore typically be notified before its constituent parts or created objects.  This fixes #8234, because the webkit plugin needs to update its prefs before the webkit controllers do.  A priority/sorting system could be added to allow specification of the order if needed, but it isn't at this time.
 * Retain/release protection on the preferences dictionary passed to observers, as it's possible that a change in preferences could invalidate the dictionary otherwise partway through the enumeration of observers.

git-svn-id: svn://svn.adiumx.com/adium/trunk@22304 1c916fce-81e2-0310-a464-8ca513f45935
Source/AIPreferenceController.m