source_remove_sync: Fail gracefully when given a scratch source.
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Feb 2013 14:22:46 +0000 (09:22 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 19 Feb 2013 14:22:46 +0000 (09:22 -0500)
commita8eb939af5623eeb4b5fe24cfcde022d954f4d17
treecc114be34480e661d11c2345ca5eb51d53afeae6
parent8797493a7d211ec960e03cb8fcd9653220b6fa43
source_remove_sync: Fail gracefully when given a scratch source.

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