[Xfce4-commits] <terminal:master> Ignore some gtk options (--sync and --g-fatal-warnings).

Nick Schermer noreply at xfce.org
Wed Dec 9 16:06:01 CET 2009


Updating branch refs/heads/master
         to 106f995bdcca067395938af65975d606dcaf091e (commit)
       from 28732239b3c4ee14645a9e761b3a9402d45f364b (commit)

commit 106f995bdcca067395938af65975d606dcaf091e
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Dec 9 16:03:59 2009 +0100

    Ignore some gtk options (--sync and --g-fatal-warnings).

 terminal/terminal-options.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/terminal/terminal-options.c b/terminal/terminal-options.c
index ecc1b27..621f479 100644
--- a/terminal/terminal-options.c
+++ b/terminal/terminal-options.c
@@ -198,7 +198,6 @@ terminal_window_attr_parse (gint              argc,
       if (argv[n] == NULL || *argv[n] != '-')
         goto unknown_option;
 
-
       if (terminal_option_cmp ("default-display", 0, argc, argv, &n, &s))
         {
           if (G_UNLIKELY (s == NULL))
@@ -407,7 +406,9 @@ terminal_window_attr_parse (gint              argc,
       else if (terminal_option_cmp ("help", 'h', argc, argv, &n, NULL)
                || terminal_option_cmp ("version", 'V', argc, argv, &n, NULL)
                || terminal_option_cmp ("disable-server", 0, argc, argv, &n, NULL)
-               || terminal_option_cmp ("sm-client-id", 0, argc, argv, &n, NULL))
+               || terminal_option_cmp ("sm-client-id", 0, argc, argv, &n, NULL)
+               || terminal_option_cmp ("sync", 0, argc, argv, &n, NULL)
+               || terminal_option_cmp ("g-fatal-warnings", 0, argc, argv, &n, NULL))
         {
           /* options we can ignore */
         }



More information about the Xfce4-commits mailing list