From a7196dd228263730b9cc4143d2f1ca590e728b7f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 1 Mar 2013 13:05:56 -0500 Subject: e_client_selector_get_client_sync(): Add argument guards. --- e-util/e-client-selector.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'e-util') 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 ( -- cgit