mutter/cogl/tests/conform
Robert Mader 92375c75f8 cleanup: Use g_clear_signal_handler() where possible
This is inspired by 98892391d7 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
..
meson cogl/tests: Export and run unit tests if they are enabled 2019-05-02 19:56:23 +00:00
meson.build cogl: Remove unported test-vertex-buffer-mutability 2019-11-20 11:59:15 -05:00
mutter-cogl.test.in Add Meson support for installed tests 2018-12-20 13:52:35 -02:00
test-alpha-test.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-alpha-textures.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-atlas-migration.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-backface-culling.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-blend-strings.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-blend.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-color-hsl.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-conform-main.c Remove CoglQuaternion 2019-10-16 11:38:13 +00:00
test-copy-replace-texture.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-custom-attributes.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-declarations.h Remove CoglQuaternion 2019-10-16 11:38:13 +00:00
test-depth-test.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-euler.c Remove CoglQuaternion 2019-10-16 11:38:13 +00:00
test-fence.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-fixed.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-fixtures.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-framebuffer-get-bits.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-just-vertex-shader.c cogl: Remove deprecated cogl_color_set_from_* 2019-11-20 11:59:15 -05:00
test-layer-remove.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-map-buffer-range.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-materials.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-multitexture.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-no-gl-header.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-npot-texture.c cogl: NPOT textures are always available 2019-04-18 12:53:07 -04:00
test-object.c move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
test-offscreen.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-path-clip.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-path.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-pipeline-cache-unrefs-texture.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-pipeline-shader-state.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-pipeline-uniforms.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-pipeline-user-matrix.c cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
test-pixel-buffer.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-point-size-attribute.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-point-size.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-point-sprite.c cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
test-premult.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-primitive-and-journal.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-primitive.c cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
test-read-texture-formats.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-readpixels.c cogl/test-readpixel: Remove unused variables 2019-10-15 11:55:53 +02:00
test-snippets.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-sparse-pipeline.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-sub-texture.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-texture-get-set-data.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-texture-mipmaps.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-texture-no-allocate.c cogl: Remove CoglError wrapper 2019-06-20 18:25:04 +02:00
test-texture-pixmap-x11.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 15:02:27 +00:00
test-texture-rg.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-version.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00
test-vertex-buffer-contiguous.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-vertex-buffer-interleved.c cogl: Remove cogl_handle_ref/unref 2019-10-14 17:05:28 +00:00
test-viewport.c clutter/actor: Remove deprecated clutter container foreach 2019-10-15 08:51:45 +00:00
test-wrap-modes.c test: use correct enum 2019-11-16 00:14:20 +01:00
test-write-texture-formats.c cogl: Add missing function declarations 2019-01-22 18:31:52 +01:00