Robert Mader
8e172aeecb
cleanup: Use g_clear_handle_id() for g_source_remove()
...
It makes sure we do not forget to zero the id and lets us avoid
zero checks before. We use it for all new code, lets clean up the
existing code base.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/947
2019-11-22 01:27:40 +01:00
Niels De Graef
0d0286d59e
cogl: Remove COGL_INVALID_HANDLE
...
Just use `NULL`, which is the normal C convention
https://gitlab.gnome.org/GNOME/mutter/merge_requests/451
2019-10-14 17:05:28 +00:00
Niels De Graef
23f77a1b63
cogl: Remove cogl_handle_ref/unref
...
This is for all intents and purposes the same as
`cogl_object_ref/unref`, but still refers to handles rather than
objects (while we're trying to get rid of the former) so it's a bit of
unnecessary redundant API.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/451
2019-10-14 17:05:28 +00:00
Carlos Garnacho
cfb8f18cef
clutter: Move tests to src/tests
...
Clutter doesn't hold anymore backend implementations, move tests where
we have one that we may assign.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/672
2019-08-24 08:59:08 +00:00