diff options
author | Tim Janik <timj@gtk.org> | 2005-09-22 10:48:04 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2005-09-22 10:48:04 +0000 |
commit | b94a2fe66c06bfecad0f91cfae1966955f9ae67e (patch) | |
tree | 9b6f8b929de05cb531765e114bcb1e78380428b1 /gobject/gsignal.h | |
parent | a07b4b8c02f4871e2c335de14688164fd7f9cb27 (diff) |
fix pspec->name assignment which needs to be strdup()ed for non
Thu Sep 22 12:42:12 2005 Tim Janik <timj@gtk.org>
* gparam.c (g_param_spec_internal): fix pspec->name assignment which
needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
recently introduced crashes during plugin unloading.
also, ensure that static pspec names are canonicalized.
* gsignal.h: reverted last change from matthias, we don't guarantee
that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.
Diffstat (limited to 'gobject/gsignal.h')
-rw-r--r-- | gobject/gsignal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gsignal.h b/gobject/gsignal.h index 79e2caaff..61345dcba 100644 --- a/gobject/gsignal.h +++ b/gobject/gsignal.h @@ -87,7 +87,7 @@ struct _GSignalQuery const gchar *signal_name; GType itype; GSignalFlags signal_flags; - GType return_type; + GType return_type; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */ guint n_params; const GType *param_types; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */ }; |