mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-05 13:36:53 +02:00
Pedantic terminology fix
Elements are not function calls and attributes are not arguments...
This commit is contained in:
parent
0d9a40b894
commit
89b718f7d3
@ -141,7 +141,7 @@ start_element (GMarkupParseContext *context,
|
|||||||
#define OPTIONAL G_MARKUP_COLLECT_OPTIONAL
|
#define OPTIONAL G_MARKUP_COLLECT_OPTIONAL
|
||||||
#define STRDUP G_MARKUP_COLLECT_STRDUP
|
#define STRDUP G_MARKUP_COLLECT_STRDUP
|
||||||
#define STRING G_MARKUP_COLLECT_STRING
|
#define STRING G_MARKUP_COLLECT_STRING
|
||||||
#define NO_ARGS() COLLECT (G_MARKUP_COLLECT_INVALID, NULL)
|
#define NO_ATTRS() COLLECT (G_MARKUP_COLLECT_INVALID, NULL)
|
||||||
|
|
||||||
if (container == NULL)
|
if (container == NULL)
|
||||||
{
|
{
|
||||||
@ -312,12 +312,12 @@ start_element (GMarkupParseContext *context,
|
|||||||
strcmp (element_name, "description") == 0)
|
strcmp (element_name, "description") == 0)
|
||||||
{
|
{
|
||||||
state->string = g_string_new (NULL);
|
state->string = g_string_new (NULL);
|
||||||
NO_ARGS ();
|
NO_ATTRS ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (strcmp (element_name, "range") == 0)
|
else if (strcmp (element_name, "range") == 0)
|
||||||
{
|
{
|
||||||
NO_ARGS ();
|
NO_ATTRS ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -335,12 +335,12 @@ start_element (GMarkupParseContext *context,
|
|||||||
}
|
}
|
||||||
else if (strcmp (element_name, "min") == 0)
|
else if (strcmp (element_name, "min") == 0)
|
||||||
{
|
{
|
||||||
NO_ARGS ();
|
NO_ATTRS ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (strcmp (element_name, "max") == 0)
|
else if (strcmp (element_name, "max") == 0)
|
||||||
{
|
{
|
||||||
NO_ARGS ();
|
NO_ATTRS ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user