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.  
  4. namespace Dizzy
  5. {
  6.  
  7.  
  8. public partial class AuthDialog : Gtk.Dialog
  9. {
  10.  
  11. protected virtual void OnOkClicked (object sender, System.EventArgs e)
  12. {
  13. Authenticate ();
  14. }
  15.  
  16. protected void Authenticate ()
  17. {
  18. GlobalConfig.password = passwordEntry.Text;
  19. GlobalConfig.InsertValue("user", userEntry.Text);
  20. GlobalConfig.authenticated = true;
  21. }
  22.  
  23. public AuthDialog ()
  24. {
  25. this.Build ();
  26. string user = GlobalConfig.GetValue("user");
  27. if (user != "")
  28. {
  29. userEntry.Text = user;
  30. }
  31. }
  32. protected virtual void OnUserEntryActivated (object sender, System.EventArgs e)
  33. {
  34. buttonOk.Click ();
  35. }
  36.  
  37. protected virtual void OnPasswordEntryActivated (object sender, System.EventArgs e)
  38. {
  39. buttonOk.Click ();
  40. }
  41.  
  42.  
  43.  
  44. }
  45. }