diff --git a/gobject/glib-genmarshal.in b/gobject/glib-genmarshal.in
index 3656bf93c..dc4c7eacc 100755
--- a/gobject/glib-genmarshal.in
+++ b/gobject/glib-genmarshal.in
@@ -950,7 +950,7 @@ if __name__ == '__main__':
     # warning non-fatal even with --g-fatal-warnings, as it's a deprecation
     compatibility_mode = False
     if args.header and args.body:
-        print_warning('Using --header and --body at the same time time is deprecated; ' +
+        print_warning('Using --header and --body at the same time is deprecated; ' +
                       'use --body --prototypes instead', False)
         args.prototypes = True
         args.header = False
