[smuxi] Frontend-GNOME: fixed regression for local engines
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi] Frontend-GNOME: fixed regression for local engines
- Date: Wed, 29 Apr 2015 05:43:01 +0000 (UTC)
commit 1d3ee1239f3e4ef8a22568888b6c575eb893cfb7
Author: Mirco Bauer <meebey meebey net>
Date: Wed Apr 29 07:28:46 2015 +0200
Frontend-GNOME: fixed regression for local engines
Frontend.EngineProtocolVersion wasn't initialized for local engines and led to
exceptions for code that compared versions against that for probing protocol
features.
src/Frontend-GNOME/Frontend.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Frontend-GNOME/Frontend.cs b/src/Frontend-GNOME/Frontend.cs
index de804ab..f0f1d37 100644
--- a/src/Frontend-GNOME/Frontend.cs
+++ b/src/Frontend-GNOME/Frontend.cs
@@ -46,7 +46,6 @@ namespace Smuxi.Frontend.Gnome
private static int _UIThreadID;
private static Version _Version;
private static string _VersionString;
- private static Version _EngineVersion;
private static SplashScreenWindow _SplashScreenWindow;
private static MainWindow _MainWindow;
private static FrontendConfig _FrontendConfig;
@@ -290,7 +289,8 @@ namespace Smuxi.Frontend.Gnome
Engine.Engine.ProtocolManagerFactory,
"local");
}
- _EngineVersion = Engine.Engine.Version;
+ EngineAssemblyVersion = Engine.Engine.AssemblyVersion;
+ EngineProtocolVersion = Engine.Engine.ProtocolVersion;
Session = _LocalSession;
_UserConfig = _Session.UserConfig;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]