Incorrect check for CamelSettings value change
authorMilan Crha <mcrha@redhat.com>
Tue, 26 Jun 2012 16:43:26 +0000 (18:43 +0200)
committerMilan Crha <mcrha@redhat.com>
Tue, 26 Jun 2012 16:48:03 +0000 (18:48 +0200)
commit86cf63042a32b425a75796c63bf45ea7ca89b879
tree083146170b3a04abc1827ad87f8b3a702e5c2e78
parentb1653bb7047ef1f88dc5a563e27204a38c06c2da
Incorrect check for CamelSettings value change

This was causing runtime warnings on evolution start from IMAP provider,
which reads values from settings for junk/trash real folder, but
the settings object was set as NULL, which means "create default settings
for this class", but the test I added for object pointer change did
succeed for the NULL object (both internal and passed in settings are NULL
at the beginning), thus the default settings object was not created.
camel/camel-service.c