mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Rename to canonicalize_key. Adjust all callers.
* gparam.c (canonalize_key): Rename to canonicalize_key. Adjust all callers.
This commit is contained in:
parent
96670f6d36
commit
0357db56f8
@ -1,3 +1,13 @@
|
|||||||
|
2002-12-07 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gparam.c (canonalize_key): Rename to canonicalize_key. Adjust
|
||||||
|
all callers.
|
||||||
|
|
||||||
|
2002-12-05 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gsignal.c (g_signal_new): Explain allowed signal names in more
|
||||||
|
detail.
|
||||||
|
|
||||||
2002-12-04 Matthias Clasen <maclas@gmx.de>
|
2002-12-04 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gsignal.h (g_signal_add_emission_hook):
|
* gsignal.h (g_signal_add_emission_hook):
|
||||||
|
@ -258,7 +258,7 @@ g_param_spec_get_blurb (GParamSpec *pspec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
canonalize_key (gchar *key)
|
canonicalize_key (gchar *key)
|
||||||
{
|
{
|
||||||
gchar *p;
|
gchar *p;
|
||||||
|
|
||||||
@ -289,7 +289,7 @@ g_param_spec_internal (GType param_type,
|
|||||||
|
|
||||||
pspec = (gpointer) g_type_create_instance (param_type);
|
pspec = (gpointer) g_type_create_instance (param_type);
|
||||||
pspec->name = g_strdup (name);
|
pspec->name = g_strdup (name);
|
||||||
canonalize_key (pspec->name);
|
canonicalize_key (pspec->name);
|
||||||
pspec->_nick = g_strdup (nick);
|
pspec->_nick = g_strdup (nick);
|
||||||
pspec->_blurb = g_strdup (blurb);
|
pspec->_blurb = g_strdup (blurb);
|
||||||
pspec->flags = (flags & G_PARAM_USER_MASK) | (flags & G_PARAM_MASK);
|
pspec->flags = (flags & G_PARAM_USER_MASK) | (flags & G_PARAM_MASK);
|
||||||
@ -667,7 +667,7 @@ param_spec_ht_lookup (GHashTable *hash_table,
|
|||||||
key.name = g_strdup (param_name);
|
key.name = g_strdup (param_name);
|
||||||
key.owner_type = owner_type;
|
key.owner_type = owner_type;
|
||||||
|
|
||||||
canonalize_key (key.name);
|
canonicalize_key (key.name);
|
||||||
if (walk_ancestors)
|
if (walk_ancestors)
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user