Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevoku@xamarin.com>2016-01-16 23:34:54 +0300
committerVsevolod Kukol <sevoku@xamarin.com>2016-01-16 23:37:28 +0300
commite5ff7e38891b7ea3ea120e8993e1eb57813802eb (patch)
tree00dfe8e5de8c283b43b991dc83374892183f2e2f /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts
parentad2517949dfc2bf6444c26067c7418fa68afb898 (diff)
[Ide] FontService and Styles with default values
This is required to run unit tests without initializing the Ide.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontService.cs
index f308bc6532..100c7cd3f6 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontService.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontService.cs
@@ -39,8 +39,8 @@ namespace MonoDevelop.Ide.Fonts
static Dictionary<string, FontDescription> loadedFonts = new Dictionary<string, FontDescription> ();
static Properties fontProperties;
- static string defaultMonospaceFontName;
- static FontDescription defaultMonospaceFont;
+ static string defaultMonospaceFontName = String.Empty;
+ static FontDescription defaultMonospaceFont = new FontDescription ();
static void LoadDefaults ()
{