sim: minor code simplification

This commit is contained in:
Aleksander Morgado
2012-03-15 14:14:47 +01:00
parent a534afa84d
commit 816a1318cb
+1 -5
View File
@@ -940,11 +940,7 @@ initable_init_finish (GAsyncInitable *initable,
GAsyncResult *result,
GError **error)
{
if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (result),
error))
return FALSE;
return TRUE;
return !g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (result), error);
}
static void