Robert Mader
92375c75f8
cleanup: Use g_clear_signal_handler() where possible
...
This is inspired by 98892391d764d1cf where the usage of
`g_signal_handler_disconnect()` without resetting the corresponding
handler id later resulted in a bug. Using `g_clear_signal_handler()`
makes sure we avoid similar bugs and is almost always the better
alternative. We use it for new code, let's clean up the old code to
also use it.
A further benefit is that it can get called even if the passed id is
0, allowing us to remove a lot of now unnessecary checks, and the fact
that `g_clear_signal_handler()` checks for the right type size, forcing us
to clean up all places where we used `guint` instead of `gulong`.
No functional changes intended here and all changes should be trivial,
thus bundled in one big commit.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/940
2019-11-21 15:02:27 +00:00
..
2018-11-06 17:17:36 +01:00
2014-05-19 15:09:23 -04:00
2018-11-18 14:25:35 +08:00
2015-01-19 02:27:59 -08:00
2019-06-20 13:31:55 +00:00
2019-11-21 15:02:27 +00:00
2019-06-20 13:31:55 +00:00
2019-10-16 11:38:14 +00:00
2018-12-21 19:48:50 +00:00
2019-08-24 08:59:08 +00:00
2018-11-06 17:17:36 +01:00
2019-06-20 13:31:56 +00:00
2019-06-20 13:31:56 +00:00
2019-11-13 10:54:37 +01:00
2018-11-06 17:17:36 +01:00
2019-11-21 15:02:27 +00:00
2019-08-24 08:59:08 +00:00
2019-05-21 14:55:38 +00:00
2019-05-21 14:55:38 +00:00
2019-05-21 14:55:38 +00:00
2019-05-21 14:55:38 +00:00
2019-05-21 14:55:38 +00:00
2019-05-21 14:55:38 +00:00
2019-08-24 08:59:08 +00:00
2019-08-24 08:59:08 +00:00
2019-06-20 13:31:56 +00:00
2019-06-20 13:31:56 +00:00
2019-08-24 17:10:32 +02:00
2019-08-24 08:59:08 +00:00
2019-08-24 08:59:08 +00:00
2019-08-24 08:59:08 +00:00
2019-08-24 08:59:08 +00:00
2018-11-06 17:17:36 +01:00
2019-10-07 22:28:45 +00:00
2019-08-24 08:59:08 +00:00
2019-10-07 14:59:18 +00:00
2019-10-07 14:59:18 +00:00
2019-06-20 13:31:56 +00:00
2019-10-07 14:59:18 +00:00
2019-10-10 14:46:32 +00:00
2019-08-15 20:38:28 +00:00
2019-10-07 14:59:18 +00:00
2019-10-07 14:59:18 +00:00
2019-06-20 13:31:56 +00:00
2019-10-07 14:59:18 +00:00
2019-10-07 14:59:18 +00:00
2019-10-21 19:01:35 +02:00
2019-06-20 13:31:55 +00:00
2019-06-20 13:31:56 +00:00
2019-06-20 13:31:56 +00:00
2019-06-20 13:31:56 +00:00
2019-06-20 13:31:56 +00:00
2019-06-28 13:25:15 -03:00
2019-06-20 13:31:56 +00:00
2019-09-05 08:03:36 +00:00
2019-10-07 14:59:18 +00:00
2019-10-10 14:46:32 +00:00
2019-10-10 14:46:32 +00:00
2019-10-07 14:59:18 +00:00
2019-06-20 13:31:56 +00:00
2019-06-20 13:31:56 +00:00
2019-11-21 15:02:27 +00:00
2019-06-20 13:31:56 +00:00
2019-08-24 08:59:08 +00:00
2017-10-05 16:18:43 -04:00
2019-09-05 08:03:36 +00:00
2019-01-13 10:30:44 +00:00
2019-11-13 10:53:50 +01:00
2019-06-20 13:31:56 +00:00
2019-07-10 08:15:02 +00:00
2018-11-19 22:53:13 +00:00
2019-11-04 10:44:42 +01:00
2019-06-27 19:08:01 +02:00
2019-10-16 11:38:14 +00:00
2019-10-16 11:38:14 +00:00
2019-06-27 19:08:01 +02:00
2017-10-05 18:08:09 -04:00
2019-11-21 15:02:27 +00:00
2019-06-20 13:31:55 +00:00
2019-08-24 17:10:32 +02:00
2019-08-24 08:59:08 +00:00
2019-08-24 08:59:08 +00:00
2019-08-24 08:59:08 +00:00