Daniel P. Berrangé da0a182708 util: keep track of full GSource object not source ID number
The source ID number is an alternative way to identify a source that has
been added to a GMainContext. Internally when a source ID is given, glib
will lookup the corresponding GSource and use that. The use of a source
ID is racy in some cases though, because it is invalid to continue to
use an ID number after the GSource has been removed. It is thus safer
to use the GSource object directly and have full control over the ref
counting and thus cleanup.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-08-07 12:43:56 +01:00
..
2020-02-24 23:15:49 +01:00
2020-01-30 12:32:03 +01:00
2019-10-16 12:06:44 +02:00
2019-11-15 12:58:00 +01:00
2020-02-03 19:44:38 +01:00
2020-07-09 10:01:41 +02:00
2019-11-12 17:54:01 +01:00
2020-08-03 15:52:09 +02:00
2020-07-09 10:01:41 +02:00
2020-03-13 17:26:55 +01:00
2020-03-13 17:26:55 +01:00
2020-08-05 11:04:17 +02:00
2020-08-03 10:57:47 +02:00
2019-10-16 12:06:44 +02:00
2020-02-24 23:15:49 +01:00
2020-02-24 17:25:07 +00:00
2020-07-09 10:01:41 +02:00
2020-08-03 15:19:28 +02:00
2020-08-03 15:30:40 +02:00
2020-02-24 20:25:48 +01:00
2019-10-16 12:06:44 +02:00
2020-07-09 10:01:41 +02:00
2020-05-05 13:08:57 +02:00
2020-02-24 23:15:50 +01:00
2019-12-17 10:04:43 +01:00
2020-02-24 23:15:50 +01:00
2020-07-09 10:01:41 +02:00
2020-02-24 23:15:49 +01:00
2020-02-24 23:15:49 +01:00
2019-10-16 12:06:44 +02:00
2020-08-03 15:37:36 +02:00
2020-08-03 15:37:36 +02:00
2020-07-09 10:01:41 +02:00
2020-07-09 10:01:41 +02:00
2019-10-16 12:06:44 +02:00
2020-03-05 12:23:02 +00:00
2020-05-05 13:08:57 +02:00
2020-07-09 10:01:41 +02:00
2020-08-03 15:30:40 +02:00
2020-02-24 23:15:49 +01:00
2019-10-16 12:06:44 +02:00