diff options
author | Kentaro Hayashi <hayashi@clear-code.com> | 2018-04-21 17:13:32 +0900 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2018-04-23 16:16:36 +0100 |
commit | 807648663df75271c351e25439481fe5905848b7 (patch) | |
tree | 559757958fad3cc86b02c865454617434c3f4df0 | |
parent | ad3b2f23874f243ef4762b7248fa4ecba006d1bd (diff) | |
download | glib-807648663df75271c351e25439481fe5905848b7.tar.gz |
gobject: Fix redundant warning message in glib-genmarshal
glib-genmarshal shows redundant "time" warning message against combination with --header and --body option.
Before:
WARNING: Using --header and --body at the same time time is deprecated; use --body --prototypes instead
After:
WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead
https://bugzilla.gnome.org/show_bug.cgi?id=795429
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
-rwxr-xr-x | gobject/glib-genmarshal.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |