[gtk+] Don't refer to --sync anymore



commit 34d6caab5ea462b424ee59cd7180dd6e6905f862
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 20 21:48:54 2011 -0400

    Don't refer to --sync anymore
    
    That commandline option got replaced with an environment variable,
    so mention that in the warning text.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662132

 gdk/x11/gdkdisplay-x11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index 1eb62ff..95b22f6 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -2360,8 +2360,8 @@ _gdk_x11_display_error_event (GdkDisplay  *display,
                          "  (Details: serial %ld error_code %d request_code %d minor_code %d)\n"
                          "  (Note to programmers: normally, X errors are reported asynchronously;\n"
                          "   that is, you will receive the error a while after causing it.\n"
-                         "   To debug your program, run it with the --sync command line\n"
-                         "   option to change this behavior. You can then get a meaningful\n"
+                         "   To debug your program, run it with the GDK_SYNCHRONIZE environment\n"
+                         "   variable to change this behavior. You can then get a meaningful\n"
                          "   backtrace from your debugger if you break on the gdk_x_error() function.)",
                          g_get_prgname (),
                          buf,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]