Thomas Haller
4c094adfb7
libnm: streamline functions in nm-connection.c
...
Functions call each other, like
nm_connection_get_id()
nm_connection_get_setting_connection()
nm_connection_get_setting()
Along the way, each function asserts that the input argument
is of type NMConnection via
g_return_val_if_fail (NM_IS_CONNECTION (connection), NULL);
Avoid such duplicate assertions when we already verifyied the
input argument.
For example, in case of nm_connection_get_id(), don't check just call
nm_connection_get_setting_connection() right away. It already
asserts.
The downside is, that the assertion no longer fails in the function
that immediately called it. But these are assertions after all.
2017-06-07 09:07:18 +02:00
..
2017-06-07 09:07:17 +02:00
2016-09-23 18:05:54 +02:00
2017-03-14 11:26:29 +01:00
2016-11-09 12:07:33 +01:00
2016-08-17 19:09:50 +02:00
2014-10-28 17:17:17 -04:00
2017-06-07 09:07:18 +02:00
2017-03-09 14:12:35 +01:00
2017-06-07 09:07:17 +02:00
2015-11-02 13:57:02 +01:00
2017-03-28 14:58:21 +02:00
2017-05-15 12:59:55 +02:00
2016-02-19 17:53:25 +01:00
2017-02-10 14:33:52 +01:00
2016-12-06 11:08:11 +01:00
2017-03-30 13:09:58 +02:00
2017-05-06 14:12:19 +02:00
2017-05-06 14:12:18 +02:00
2017-05-06 14:12:18 +02:00
2017-05-28 17:33:37 +02:00
2017-03-23 19:06:02 +01:00
2016-08-17 19:09:50 +02:00
2017-06-07 09:07:17 +02:00
2017-06-06 09:28:59 +02:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-05-31 20:15:52 +02:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-05-28 17:33:37 +02:00
2017-03-22 12:04:25 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-28 14:58:21 +02:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:17 +02:00
2017-05-23 13:37:10 +02:00
2017-06-07 09:07:17 +02:00
2017-03-17 10:15:11 +01:00
2017-06-07 09:07:18 +02:00
2017-03-09 14:12:35 +01:00
2016-03-26 12:10:54 +01:00
2017-03-09 14:12:35 +01:00
2017-03-06 15:20:25 +01:00
2017-06-07 09:07:17 +02:00
2017-03-06 15:20:25 +01:00
2017-03-28 16:34:22 +02:00
2017-03-17 13:00:32 +01:00
2016-10-03 12:01:15 +02:00
2016-11-21 13:53:03 +01:00
2017-02-04 17:55:30 +01:00
2016-06-15 10:32:32 +02:00