diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-01-16 17:37:26 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-01-16 17:37:26 +0800 |
commit | 22da56b2392a9470f50c1da6b54f8e5aebf7ac4a (patch) | |
tree | aa548e334ee476a857aa968d7bc5c2892b8fb154 /libempathy-gtk | |
parent | 239bffa02a58062e11e55c0373a233c5939cb4b3 (diff) | |
download | gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.tar gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.tar.gz gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.tar.bz2 gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.tar.lz gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.tar.xz gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.tar.zst gsoc2013-empathy-22da56b2392a9470f50c1da6b54f8e5aebf7ac4a.zip |
filter_result_callback_data_new: add some checks
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index c21a22ebc..ae3f1dd15 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -90,6 +90,10 @@ filter_result_callback_data_new (EmpathyAccountChooser *self, { FilterResultCallbackData *data; + g_return_val_if_fail (self != NULL, NULL); + g_return_val_if_fail (account != NULL, NULL); + g_return_val_if_fail (iter != NULL, NULL); + data = g_slice_new0 (FilterResultCallbackData); data->self = g_object_ref (self); data->account = g_object_ref (account); |