viewgit/index.php:465 Only variables should be passed by reference [2048]

viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]

  1.  
  2. using System;
  3. using Dizzy;
  4.  
  5. namespace Dizzy
  6. {
  7.  
  8.  
  9. public partial class StartupDialog : Gtk.Dialog
  10. {
  11.  
  12. GlobalConfig config;
  13.  
  14. protected virtual void OnOkClicked (object sender, System.EventArgs e)
  15. {
  16. config.user = entryUser.Text;
  17. config.password = entryPassword.Text;
  18. this.Destroy ();
  19. }
  20.  
  21. public StartupDialog (ref GlobalConfig config)
  22. {
  23. this.Build ();
  24. this.config = config;
  25.  
  26. // Dobbiamo fare in modo di ottenere utente e password dall'
  27. // utente e poi caricare la finestra principale connettendoci
  28. // al server
  29. entryPassword.Visibility = false;
  30.  
  31. }
  32. }
  33. }