mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
provide marshaller specific value_set_*_take_ownership() variants.
Sun Feb 16 22:08:48 2002 Tim Janik <timj@gtk.org> * gobject.[hc]: * gparam.[hc]: provide marshaller specific value_set_*_take_ownership() variants. * gvalue.h: shrink GValue's data contents to 2 unions. * glib-genmarshal.c: fix release and realeas_check hackage by always using _take_ownership() variants. directly access value contents if G_ENABLE_DEBUG is not defined. * gobject.h: add padding pointers to the class struct.
This commit is contained in:
@@ -376,8 +376,7 @@ g_boxed_copy (GType boxed_type,
|
||||
|
||||
/* double check and grouse if things went wrong */
|
||||
if (dest_value.data[1].v_ulong ||
|
||||
dest_value.data[2].v_ulong ||
|
||||
dest_value.data[3].v_ulong)
|
||||
dest_value.data[2].v_ulong)
|
||||
g_warning ("the copy_value() implementation of type `%s' seems to make use of reserved GValue fields",
|
||||
g_type_name (boxed_type));
|
||||
|
||||
|
Reference in New Issue
Block a user