mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-07 18:06:15 +01:00
return_if_fail vs. return_val_if_fail fix
This commit is contained in:
parent
78ec35f7ab
commit
3f3d2976d1
@ -4074,7 +4074,7 @@ g_variant_dict_end (GVariantDict *dict)
|
||||
GHashTableIter iter;
|
||||
gpointer key, value;
|
||||
|
||||
g_return_if_fail (is_valid_dict (dict));
|
||||
g_return_val_if_fail (is_valid_dict (dict), NULL);
|
||||
|
||||
g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
|
||||
|
||||
@ -4103,7 +4103,7 @@ g_variant_dict_end (GVariantDict *dict)
|
||||
GVariantDict *
|
||||
g_variant_dict_ref (GVariantDict *dict)
|
||||
{
|
||||
g_return_if_fail (is_valid_heap_dict (dict));
|
||||
g_return_val_if_fail (is_valid_heap_dict (dict), NULL);
|
||||
|
||||
GVHD(dict)->ref_count++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user