Mercurial > pidgin.yaz
comparison libpurple/prefs.c @ 32337:5cb66143ae2a
propagate from branch 'im.pidgin.pidgin' (head 8f0dbb75e0842b6df34c773ceb3a62e07819c532)
to branch 'im.pidgin.pidgin.mxit' (head 58ce8d40af953c67a284a42e026ccdbfd25ffaa8)
author | andrew.victor@mxit.com |
---|---|
date | Fri, 12 Aug 2011 21:41:34 +0000 |
parents | 6da9e43e17d8 |
children |
comparison
equal
deleted
inserted
replaced
32336:88a1d883e65f | 32337:5cb66143ae2a |
---|---|
273 else | 273 else |
274 return; | 274 return; |
275 } else if(purple_strequal(attribute_names[i], "value")) { | 275 } else if(purple_strequal(attribute_names[i], "value")) { |
276 pref_value = attribute_values[i]; | 276 pref_value = attribute_values[i]; |
277 } | 277 } |
278 } | |
279 | |
280 if ((pref_type == PURPLE_PREF_BOOLEAN || pref_type == PURPLE_PREF_INT) && | |
281 pref_value == NULL) { | |
282 /* Missing a value attribute */ | |
283 return; | |
278 } | 284 } |
279 | 285 |
280 if(purple_strequal(element_name, "item")) { | 286 if(purple_strequal(element_name, "item")) { |
281 struct purple_pref *pref; | 287 struct purple_pref *pref; |
282 | 288 |