source_write_sync: Fail gracefully when given a scratch source.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Feb 2013 14:18:47 +0000 (09:18 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Feb 2013 14:18:47 +0000 (09:18 -0500)
commit8797493a7d211ec960e03cb8fcd9653220b6fa43
tree7dac3f115c033ceece0d59e3af58ef2145160a51
parentb398046ca2961c4b519cc3a71e018de6b6d16d72
source_write_sync: Fail gracefully when given a scratch source.

Apparently e_dbus_object_get_source_writable() does not check its
argument for NULL, and scratch sources have no internal EDBusObject.
libedataserver/e-source.c