Marc-André Lureau
f5a74a5a50
qobject: Modify qobject_ref() to return obj
...
For convenience and clarity, make it possible to call qobject_ref() at
the time when the reference is associated with a variable, or
argument, by making qobject_ref() return the same pointer as given.
Use that to simplify the callers.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180419150145.24795-5-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Useless change to qobject_ref_impl() dropped, commit message improved
slightly]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-05-04 08:27:53 +02:00
..
2018-03-19 14:58:37 -05:00
2018-03-19 12:01:24 +01:00
2018-05-04 08:27:53 +02:00
2018-03-26 12:16:00 +02:00
2018-05-04 08:27:53 +02:00
2018-03-13 15:38:55 -05:00
2017-11-17 13:35:59 +01:00
2017-11-17 13:35:59 +01:00
2018-04-10 16:33:47 +02:00
2018-03-09 15:17:47 +01:00
2018-05-04 08:27:53 +02:00
2017-07-11 17:44:56 +02:00
2018-02-09 13:52:16 +01:00
2018-03-13 17:05:00 -04:00
2016-10-07 14:14:06 +02:00
2017-11-17 13:35:59 +01:00
2017-12-18 17:07:02 +03:00
2018-04-03 17:39:37 +02:00
2018-03-09 15:17:47 +01:00
2018-05-04 08:27:53 +02:00
2018-03-27 13:05:28 +01:00
2018-02-09 13:52:16 +01:00
2018-05-04 08:27:53 +02:00
2017-02-21 11:39:39 +00:00
2018-03-09 15:17:47 +01:00
2018-03-19 12:01:39 +01:00
2018-04-02 08:45:21 -05:00
2018-03-13 15:43:48 -05:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-02-09 05:05:11 +01:00
2018-05-04 08:27:53 +02:00
2018-03-26 21:17:24 +02:00
2018-02-13 17:00:00 +01:00
2018-03-09 15:17:47 +01:00
2018-03-26 12:16:00 +02:00
2018-03-09 15:17:47 +01:00
2018-05-04 08:27:53 +02:00
2018-04-16 13:35:32 +02:00
2018-05-04 08:27:53 +02:00
2018-03-09 15:17:47 +01:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2018-03-09 15:17:47 +01:00
2018-05-04 08:27:53 +02:00
2017-07-17 11:34:11 +08:00
2018-05-04 08:27:53 +02:00
2018-03-02 18:39:07 +01:00
2018-05-04 08:27:53 +02:00
2018-03-26 12:16:00 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-04-10 16:33:47 +02:00
2018-03-02 13:45:50 -06:00
2018-03-26 12:16:00 +02:00
2018-03-19 12:01:24 +01:00
2018-05-04 08:27:53 +02:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00
2018-05-04 08:27:53 +02:00
2014-12-12 15:42:22 +00:00
2018-03-26 21:17:24 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2017-02-21 11:39:39 +00:00
2018-03-02 13:45:50 -06:00