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
This commit is contained in:
		@ -2360,8 +2360,8 @@ _gdk_x11_display_error_event (GdkDisplay  *display,
 | 
				
			|||||||
                         "  (Details: serial %ld error_code %d request_code %d minor_code %d)\n"
 | 
					                         "  (Details: serial %ld error_code %d request_code %d minor_code %d)\n"
 | 
				
			||||||
                         "  (Note to programmers: normally, X errors are reported asynchronously;\n"
 | 
					                         "  (Note to programmers: normally, X errors are reported asynchronously;\n"
 | 
				
			||||||
                         "   that is, you will receive the error a while after causing it.\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"
 | 
					                         "   To debug your program, run it with the GDK_SYNCHRONIZE environment\n"
 | 
				
			||||||
                         "   option to change this behavior. You can then get a meaningful\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.)",
 | 
					                         "   backtrace from your debugger if you break on the gdk_x_error() function.)",
 | 
				
			||||||
                         g_get_prgname (),
 | 
					                         g_get_prgname (),
 | 
				
			||||||
                         buf,
 | 
					                         buf,
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user