Commit Graph

13 Commits

Author SHA1 Message Date
Michael Natterer b14f96dbd0 app: fix tests after the GimpPrecision enum change 2013-06-23 17:24:03 +02:00
Michael Natterer 66ff5dd70b Remove all calls to g_type_init(), it's deprecated
The type system is initialized automatically now.
2013-05-25 22:44:20 +02:00
Michael Natterer c865d8f141 Bug 622054 - Levels Tool gray point picker causes lockup
Bail out in gimp_levels_config_adjust_by_colors() if pure
back or white was picked as gray (gamma).
2013-03-27 22:28:29 +01:00
Michael Muré 9966bcfd13 remove now useless and deprecated g_thread_init
Warning

g_thread_init has been deprecated since version 2.32 and should not be used in newly-written code. This function is no longer necessary. The GLib threading system is automatically initialized at the start of your program.
2012-05-03 20:44:07 +09:00
Martin Nordholts 563d3c10d6 Make 'make check' compile 2012-05-02 21:53:38 +02:00
Michael Natterer a9e60bf6ce app: make the tests build again 2012-05-02 17:51:03 +02:00
Martin Nordholts 2b2ecd1af1 app/tests: Remove static Gimp *gimp
Say no to evilness.
2011-09-30 07:56:47 +02:00
Michael Natterer 1c8149a553 Bug 632568 - 'gimp-drawable-transform-rotate-simple' makes GIMP crash in some cases
Applied modified patch from Massimo that makes sure we don't use
negative width/height if source and dest regions don't overlap.
2011-03-18 00:53:21 +01:00
Martin Nordholts d3c97238a3 app/tests: Fix inludes of non-UI tests
Eventually we might want to be more strict, but I think it will be
fine to depend on UI headers in non-UI tests. Non-UI tests just means
we don't need to initalize the UI.
2010-10-26 14:35:06 +02:00
Martin Nordholts 81410e0a5f app/tests: Exit properly in test-core.c to avoid broken wire
Exit properly in test-core.c to avoid broken wire causing the warning:

  LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
2010-10-21 21:12:46 +02:00
Martin Nordholts c1c42f193d app: Remove 'use_cpu_accel' from gimp_init_for_{,gui_}testing()
Remove silly 'use_cpu_accel' parameter from gimp_init_for_testing()
and gimp_init_for_gui_testing().
2010-10-09 18:50:34 +02:00
Martin Nordholts 81925e424b app/tests: Prepare test-core.c for other tests 2010-06-29 19:08:59 +02:00
Martin Nordholts dd059635d4 app/tests: Rename test-layers to test-core
Rename test-layers to test-core so we can put more tests there, like
color processing algorithm tests for example.
2010-06-29 18:08:34 +02:00