linux: Fix build

This commit is contained in:
Hylke Bons 2016-03-31 20:50:49 +01:00
parent 08844e26d6
commit 2714fb58ba
2 changed files with 1 additions and 3 deletions

View file

@ -34,8 +34,6 @@ namespace SparkleShare {
public override bool CreateSparkleShareFolder ()
{
CreateStartupItem ();
if (Directory.Exists (Configuration.DefaultConfig.FoldersPath))
return false;

View file

@ -48,7 +48,7 @@ namespace SparkleShare {
application.Register (null);
application.Activated += ApplicationActivatedDelegate;
Gdk.Color color = UserInterfaceHelpers.RGBAToColor (new Label().StyleContext.GetColor (StateFlags.Insensitive));
Gdk.Color color = UserInterfaceHelpers.RGBAToColor (new Label("").StyleContext.GetColor (StateFlags.Insensitive));
SecondaryTextColor = UserInterfaceHelpers.ColorToHex (color);
color = UserInterfaceHelpers.MixColors (