fix pspec->name assignment which needs to be strdup()ed for non
authorTim Janik <timj@gtk.org>
Thu, 22 Sep 2005 10:48:04 +0000 (10:48 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 22 Sep 2005 10:48:04 +0000 (10:48 +0000)
commitb94a2fe66c06bfecad0f91cfae1966955f9ae67e
tree9b6f8b929de05cb531765e114bcb1e78380428b1
parenta07b4b8c02f4871e2c335de14688164fd7f9cb27
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.
gobject/ChangeLog
gobject/gparam.c
gobject/gsignal.h