projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Color::is_straight(). Also, re-enable the optimization for straight blending...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
general.h
diff --git
a/synfig-studio/trunk/src/gtkmm/general.h
b/synfig-studio/trunk/src/gtkmm/general.h
index
6397097
..
77366d8
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/general.h
+++ b/
synfig-studio/trunk/src/gtkmm/general.h
@@
-27,16
+27,23
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
+#ifdef ENABLE_NLS
#include <libintl.h>
#include <libintl.h>
+#endif
/* === M A C R O S ========================================================= */
#undef _
#undef gettext_noop
#undef N_
/* === M A C R O S ========================================================= */
#undef _
#undef gettext_noop
#undef N_
+#ifdef ENABLE_NLS
#define _(x) gettext(x)
#define gettext_noop(x) x
#define N_(x) gettext_noop(x)
#define _(x) gettext(x)
#define gettext_noop(x) x
#define N_(x) gettext_noop(x)
+#else
+#define _(x) (x)
+#define N_(x) (x)
+#endif
/* === T Y P E D E F S ===================================================== */
/* === T Y P E D E F S ===================================================== */