build: fix return types (bgo #644665)

Some functions were returning FALSE or 0 instead of NULL.
This commit is contained in:
Kjartan Maraas
2011-03-14 01:05:51 -05:00
committed by Dan Williams
parent 6d0d302916
commit c2b4b9c1d7
17 changed files with 25 additions and 25 deletions

View File

@@ -286,7 +286,7 @@ nm_act_request_get_default6 (NMActRequest *req)
GObject *
nm_act_request_get_device (NMActRequest *req)
{
g_return_val_if_fail (NM_IS_ACT_REQUEST (req), FALSE);
g_return_val_if_fail (NM_IS_ACT_REQUEST (req), NULL);
return G_OBJECT (NM_ACT_REQUEST_GET_PRIVATE (req)->device);
}