Skip to content

Commit

Permalink
Relocate definition of SINGLE_THREADED for WIN32 case
Browse files Browse the repository at this point in the history
  • Loading branch information
morevnaproject committed Jun 26, 2013
1 parent ab2aeef commit 557ee34
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions synfig-studio/src/gui/app.h
Expand Up @@ -56,6 +56,11 @@
#define SKETCH_DIR_PREFERENCE "sketch_dir"
#define RENDER_DIR_PREFERENCE "render_dir"

// uncomment define SINGLE_THREADED to use a single thread, and hopefully get more stability (dooglus) - changed to be default if using windows (Nov 2009 pixelgeek)
#ifdef WIN32
#define SINGLE_THREADED
#endif

/* === T Y P E D E F S ===================================================== */

/* === C L A S S E S & S T R U C T S ======================================= */
Expand Down
8 changes: 4 additions & 4 deletions synfig-studio/src/gui/asyncrenderer.h
Expand Up @@ -43,12 +43,12 @@
#include <glibmm/thread.h>
#include <glibmm/dispatcher.h>

#include "app.h"

/* === M A C R O S ========================================================= */

// uncomment define SINGLE_THREADED to use a single thread, and hopefully get more stability (dooglus) - changed to be default if using windows (Nov 2009 pixelgeek)
#ifdef WIN32
#define SINGLE_THREADED
#endif
// uncomment define SINGLE_THREADED to use a single thread, and hopefully get more stability (dooglus)
// changed to be default if using windows (Nov 2009 pixelgeek) - see app.h
#ifdef SINGLE_THREADED
# define single_threaded() App::single_threaded
#endif
Expand Down
2 changes: 2 additions & 0 deletions synfig-studio/src/gui/dialogs/dialog_setup.h
Expand Up @@ -46,6 +46,8 @@
#include <synfig/time.h>
#include <algorithm>

#include "app.h"

/* === M A C R O S ========================================================= */
#ifndef DEFAULT_PREDEFINED_SIZE
#define DEFAULT_PREDEFINED_SIZE _("Custom Size")
Expand Down
1 change: 1 addition & 0 deletions synfig-studio/src/gui/workarea.h
Expand Up @@ -54,6 +54,7 @@
#include "dials/zoomdial.h"
#include "duckmatic.h"
#include "instance.h"
#include "app.h"

/* === M A C R O S ========================================================= */

Expand Down

0 comments on commit 557ee34

Please sign in to comment.