diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-02 02:05:56 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-02 02:55:48 +0800 |
commit | a7196dd228263730b9cc4143d2f1ca590e728b7f (patch) | |
tree | 73894188fbb2ff040c7d43f216e12bafd4b66b11 | |
parent | 6d9cf1b8fe3db27cb8f383a773b0d51a1ce9a43e (diff) | |
download | gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.tar gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.tar.gz gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.tar.bz2 gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.tar.lz gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.tar.xz gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.tar.zst gsoc2013-evolution-a7196dd228263730b9cc4143d2f1ca590e728b7f.zip |
e_client_selector_get_client_sync(): Add argument guards.
-rw-r--r-- | e-util/e-client-selector.c | 3 |
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 ( |