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.InsertValue("user", entryUser.Text);
  17. config.password = entryPassword.Text;
  18. message.Text = "Connessione in corso...";
  19. }
  20.  
  21. public StartupDialog (ref GlobalConfig config)
  22. {
  23. this.Build ();
  24. this.config = config;
  25.  
  26. this.entryUser.Text = config.GetValue("user");
  27.  
  28. // Dobbiamo fare in modo di ottenere utente e password dall'
  29. // utente e poi caricare la finestra principale connettendoci
  30. // al server
  31. entryPassword.Visibility = false;
  32. entryPassword.ActivatesDefault = true;
  33.  
  34. }
  35. }
  36. }