summaryrefslogtreecommitdiff
path: root/gtkdoc-scangobj.in
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-01-13 17:53:13 +0200
committerStefan Kost <ensonic@users.sf.net>2011-01-13 17:53:13 +0200
commitdcf604f9b26397f9779e183f23dfd62b0a7ba645 (patch)
treea4dc0fe78ef25467dcefa29e37bd5da09c54f9dd /gtkdoc-scangobj.in
parent4cfc71cd836d73b15254f73f58d8fd5f85fcc1f6 (diff)
downloadgtk-doc-dcf604f9b26397f9779e183f23dfd62b0a7ba645.tar.gz
scnobj: fix spelling and trailing whitespaces
Diffstat (limited to 'gtkdoc-scangobj.in')
-rw-r--r--gtkdoc-scangobj.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in
index 789072e..4021c72 100644
--- a/gtkdoc-scangobj.in
+++ b/gtkdoc-scangobj.in
@@ -20,7 +20,7 @@
#
#
-# This gets information about object heirarchies and signals
+# This gets information about object hierarchies and signals
# by compiling a small C program. CFLAGS and LDFLAGS must be
# set appropriately before running this script.
#
@@ -49,7 +49,7 @@ my $QUERY_CHILD_PROPERTIES;
'output-dir' => \$OUTPUT_DIR,
'version' => \$PRINT_VERSION,
'help' => \$PRINT_HELP);
-
+
GetOptions(\%optctl, "module=s", "types:s", "output-dir:s", "nogtkinit", "type-init-func:s", "query-child-properties:s", "version", "help");
if ($NO_GTK_INIT) {
@@ -327,7 +327,7 @@ output_object_signal (FILE *fp,
pos += strlen (pos);
/* Try to come up with a sensible variable name for the first arg
- * I chops off 2 know prefixes :/ and makes the name lowercase
+ * It chops off 2 know prefixes :/ and makes the name lowercase
* It should replace lowercase -> uppercase with '_'
* GFileMonitor -> file_monitor
* GIOExtensionPoint -> extension_point
@@ -491,11 +491,11 @@ default:
e.g. 'GtkWidget *'. */
if (g_type_is_a (type, G_TYPE_OBJECT))
*is_pointer = TRUE;
-
+
/* Also catch non GObject root types */
if (G_TYPE_IS_CLASSED (type))
*is_pointer = TRUE;
-
+
/* All boxed subtypes will be pointers as well. */
/* Exception: GStrv */
if (g_type_is_a (type, G_TYPE_BOXED) &&
@@ -533,7 +533,7 @@ output_object_hierarchy (void)
}
output_hierarchy (fp, G_TYPE_OBJECT, 0);
output_hierarchy (fp, G_TYPE_INTERFACE, 0);
-
+
for (i=0; object_types[i]; i++) {
root = object_types[i];
while ((type = g_type_parent (root))) {
@@ -571,7 +571,7 @@ output_hierarchy (FILE *fp,
for (i = 0; i < level; i++)
fprintf (fp, " ");
fprintf (fp, "%s\\n", g_type_name (type));
-
+
children = g_type_children (type, &n_children);
for (i=0; i < n_children; i++)