glib/gobject/tests
Philip Withnall f10101b909 gobject: Use g_memdup2() instead of g_memdup() in obvious places
Convert all the call sites which use `g_memdup()`’s length argument
trivially (for example, by passing a `sizeof()`), so that they use
`g_memdup2()` instead.

In almost all of these cases the use of `g_memdup()` would not have
caused problems, but it will soon be deprecated, so best port away from
it.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #2319
2021-02-04 14:13:21 +00:00
..
.gitignore .gitignore updates 2015-10-23 11:28:03 -04:00
autoptr.c tests: Add some assertions to avoid unused variable warnings on Clang 2020-02-24 16:18:58 +00:00
binding.c Deprecate g_binding_get_source() and get_target() in favour of dup_source() and dup_target() 2020-11-26 19:51:56 +02:00
boxed.c Add boxing for GTree 2020-10-07 11:00:11 +01:00
closure-refcount.c tests: Fix closure-refcount to preserve old semantics 2019-02-28 07:05:29 +01:00
closure.c Fix the closure test in continuous 2014-05-30 10:22:35 -04:00
dynamictests.c Fix missing initializer warning in gobject/tests/dynamictests.c:test_module_get_type() 2020-12-16 10:56:32 +01:00
enums.c gobject: Add to_string() functions for Enum and Flags types 2017-03-30 09:52:28 +01:00
flags.c Add unit test for flags validation 2018-11-01 01:41:32 +03:00
genmarshal.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
ifaceproperties.c tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
marshalers.list Add more tests for signal emissions 2012-03-02 17:13:04 +01:00
meson.build build: Drop unused G_ATOMIC_OP_MEMORY_BARRIER_NEEDED 2020-05-19 16:20:31 +01:00
mkenums.py mkenums: Support public/private trigraphs again 2021-01-10 20:51:54 +01:00
object.c gobject: re-allow finalization from constructor() 2014-02-15 10:20:53 -05:00
param.c gobject: Use g_memdup2() instead of g_memdup() in obvious places 2021-02-04 14:13:21 +00:00
private.c glib: Avoid redefining GLIB_DISABLE_DEPRECATION_WARNINGS 2020-07-27 15:41:09 +01:00
properties.c Fix signedness warnings in gobject/tests/properties.c:properties_get_property() 2020-12-16 23:26:34 +01:00
qdata.c tests: Drop unnecessary volatile qualifiers from tests 2020-11-20 14:40:19 +00:00
reference.c gobject: Fix strict aliasing warnings with g_set_object() 2020-02-18 12:15:52 +00:00
signal-handler.c Add a performance test for signal connection 2015-05-27 14:41:19 -04:00
signals.c gsignal: Allow return types for RUN_FIRST-only signals too 2020-12-21 17:22:51 +00:00
taptestrunner.py py: Various flake8 cleanups 2020-11-17 15:50:07 +00:00
testcommon.h Fix missing initializer warning in gobject/tests/ifaceproperties.c:base_object_get_type() 2020-12-16 23:59:17 +01:00
testing.c tests: Add a test for g_assert_finalize_object() 2019-10-18 15:55:27 +01:00
threadtests.c tests: Drop unnecessary volatile qualifiers from tests 2020-11-20 14:40:19 +00:00
type.c gtype: Add g_type_interface_instantiatable_prerequisite() 2020-11-02 17:36:18 +00:00
value.c Fix signedness warnings in gobject/tests/value.c:test_valuearray_basic() 2020-12-05 17:11:55 +01:00