summaryrefslogtreecommitdiff
path: root/src/core/schema-bindings.c
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <[email protected]>2014-06-25 19:06:17 -0300
committerJoaquín Ignacio Aramendía <[email protected]>2014-06-26 20:03:32 -0300
commita65a66d49bd0d6ec6c94b8e3ecd551cb570cec95 (patch)
treeb451afa6025e587f0ee287601427e572712e3428 /src/core/schema-bindings.c
parent32050fd47713d9254e05344a6afd87202fa45d11 (diff)
downloadmarco-a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.tar.bz2
marco-a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.tar.xz
Remove all trailing whitespaces in the code tree
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
Diffstat (limited to 'src/core/schema-bindings.c')
-rw-r--r--src/core/schema-bindings.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/schema-bindings.c b/src/core/schema-bindings.c
index d7cf7b6b..a30fe25d 100644
--- a/src/core/schema-bindings.c
+++ b/src/core/schema-bindings.c
@@ -63,7 +63,7 @@ single_stanza (gboolean is_window, const char *name,
escaped_description = g_markup_escape_text (description, -1);
escaped_default_value = default_value==NULL? "disabled":
g_markup_escape_text (default_value, -1);
-
+
fprintf (target_file, " <schema>\n");
fprintf (target_file, " <key>/schemas/apps/marco/%s_keybindings/%s</key>\n",
keybinding_type, name);
@@ -72,7 +72,7 @@ single_stanza (gboolean is_window, const char *name,
fprintf (target_file, " <owner>marco</owner>\n");
fprintf (target_file, " <type>string</type>\n");
fprintf (target_file, " <default>%s</default>\n", escaped_default_value);
-
+
fprintf (target_file, " <locale name=\"C\">\n");
fprintf (target_file, " <short>%s</short>\n", description);
fprintf (target_file, " <long>%s</long>\n",
@@ -117,7 +117,7 @@ produce_bindings ()
{
if (strstr (buffer, "<!-- GENERATED -->"))
break;
-
+
fprintf (target_file, "%s", buffer);
}
@@ -157,7 +157,7 @@ main (int argc, char **argv)
{
g_error ("Syntax: %s <source.in.in> <target.in>\n", argv[0]);
}
-
+
source_filename = argv[1];
target_filename = argv[2];
@@ -187,7 +187,7 @@ main (int argc, char **argv)
g_free (about_keybindings);
g_free (about_reversible_keybindings);
-
+
return 0;
}