aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-client-selector.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/e-util/e-client-selector.c b/e-util/e-client-selector.c
index 802310fc47..e164c80249 100644
--- a/e-util/e-client-selector.c
+++ b/e-util/e-client-selector.c
@@ -398,6 +398,9 @@ e_client_selector_get_client_sync (EClientSelector *selector,
GAsyncResult *result;
EClient *client;
+ g_return_val_if_fail (E_IS_CLIENT_SELECTOR (selector), NULL);
+ g_return_val_if_fail (E_IS_SOURCE (source), NULL);
+
closure = e_async_closure_new ();
e_client_selector_get_client (