mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 10:07:13 +02:00
Intern the signal name.
2005-08-31 Matthias Clasen <mclasen@redhat.com> * gobject.c (g_object_do_class_init): Intern the signal name.
This commit is contained in:
committed by
Matthias Clasen
parent
5e08d524c3
commit
f7a681d65d
@@ -1,5 +1,10 @@
|
|||||||
2005-08-31 Matthias Clasen <mclasen@redhat.com>
|
2005-08-31 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gobject.c (g_object_do_class_init): Intern the signal name.
|
||||||
|
|
||||||
|
* gparam.c (g_param_spec_internal): Intern the name here,
|
||||||
|
since we need the quark anyway when sending change notification.
|
||||||
|
|
||||||
* gboxed.c:
|
* gboxed.c:
|
||||||
* gparamspecs.c:
|
* gparamspecs.c:
|
||||||
* gtype.c (g_type_init_with_debug_flags): Intern type name
|
* gtype.c (g_type_init_with_debug_flags): Intern type name
|
||||||
|
@@ -259,7 +259,7 @@ g_object_do_class_init (GObjectClass *class)
|
|||||||
class->notify = NULL;
|
class->notify = NULL;
|
||||||
|
|
||||||
gobject_signals[NOTIFY] =
|
gobject_signals[NOTIFY] =
|
||||||
g_signal_new ("notify",
|
g_signal_new (g_intern_static_string ("notify"),
|
||||||
G_TYPE_FROM_CLASS (class),
|
G_TYPE_FROM_CLASS (class),
|
||||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE | G_SIGNAL_DETAILED | G_SIGNAL_NO_HOOKS | G_SIGNAL_ACTION,
|
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE | G_SIGNAL_DETAILED | G_SIGNAL_NO_HOOKS | G_SIGNAL_ACTION,
|
||||||
G_STRUCT_OFFSET (GObjectClass, notify),
|
G_STRUCT_OFFSET (GObjectClass, notify),
|
||||||
|
Reference in New Issue
Block a user