Skip to content

Commit

Permalink
Fix additional warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronwhite committed Feb 8, 2015
1 parent ba0b614 commit 5ed913e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Pinta/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ public static void Main (string[] args)
}

Application.Init ();
MainWindow win = new MainWindow ();
//win.Show ();
new MainWindow ();

if (threads != -1)
Pinta.Core.PintaCore.System.RenderThreads = threads;
Expand Down
4 changes: 1 addition & 3 deletions Pinta/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,14 @@ public class MainWindow

CanvasPad canvas_pad;

ActionHandlers dialog_handlers;

public MainWindow ()
{
// Build our window
CreateWindow ();

// Initialize interface things
window_shell.AddAccelGroup (PintaCore.Actions.AccelGroup);
dialog_handlers = new ActionHandlers ();
new ActionHandlers ();

PintaCore.Chrome.InitializeProgessDialog (new ProgressDialog ());
PintaCore.Chrome.InitializeErrorDialogHandler ((parent, message, details) => {
Expand Down

0 comments on commit 5ed913e

Please sign in to comment.