mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Mask out G_SIGNAL_TYPE_STATIC_SCOPE when comparing types
This commit is contained in:
parent
d10f79a196
commit
b05ea89d0c
@ -1703,7 +1703,7 @@ g_signal_newv (const gchar *signal_name,
|
||||
else if (n_params == 1 && return_type == G_TYPE_NONE)
|
||||
{
|
||||
#define ADD_CHECK(__type__) \
|
||||
else if (g_type_is_a (param_types[0], G_TYPE_ ##__type__)) \
|
||||
else if (g_type_is_a (param_types[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE, G_TYPE_ ##__type__)) \
|
||||
{ \
|
||||
builtin_c_marshaller = g_cclosure_marshal_VOID__ ## __type__; \
|
||||
va_marshaller = g_cclosure_marshal_VOID__ ## __type__ ##v; \
|
||||
|
Loading…
Reference in New Issue
Block a user