[glib] Pedantic terminology fix
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Pedantic terminology fix
- Date: Wed, 21 Apr 2010 21:51:40 +0000 (UTC)
commit 89b718f7d396c165a023e46c5111549a2a1e2d1c
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Apr 21 17:44:47 2010 -0400
Pedantic terminology fix
Elements are not function calls and attributes are not arguments...
gio/gschema-compile.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gschema-compile.c b/gio/gschema-compile.c
index 8d94d33..9877ad8 100644
--- a/gio/gschema-compile.c
+++ b/gio/gschema-compile.c
@@ -141,7 +141,7 @@ start_element (GMarkupParseContext *context,
#define OPTIONAL G_MARKUP_COLLECT_OPTIONAL
#define STRDUP G_MARKUP_COLLECT_STRDUP
#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)
{
@@ -312,12 +312,12 @@ start_element (GMarkupParseContext *context,
strcmp (element_name, "description") == 0)
{
state->string = g_string_new (NULL);
- NO_ARGS ();
+ NO_ATTRS ();
return;
}
else if (strcmp (element_name, "range") == 0)
{
- NO_ARGS ();
+ NO_ATTRS ();
return;
}
}
@@ -335,12 +335,12 @@ start_element (GMarkupParseContext *context,
}
else if (strcmp (element_name, "min") == 0)
{
- NO_ARGS ();
+ NO_ATTRS ();
return;
}
else if (strcmp (element_name, "max") == 0)
{
- NO_ARGS ();
+ NO_ATTRS ();
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]