gthreadedresolver: remove a bit of cruft

Remove a test that only made sense when GThreadedResolver was the base
class for the two non-threaded resolver classes that no longer exist.
This commit is contained in:
Dan Winship 2011-10-05 08:36:03 -04:00
parent 0e3f530185
commit 2f48b4b7fb

View File

@ -316,7 +316,7 @@ resolve_sync (GThreadedResolver *gtr,
GThreadedResolverRequest *req,
GError **error)
{
if (!req->cancellable || !gtr->thread_pool)
if (!req->cancellable)
{
req->resolve_func (req, error);
g_mutex_unlock (&req->mutex);