diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-07-17 11:42:40 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-07-17 11:42:40 +0000 |
| commit | f5023f704fb05b25d5fa6c78e0faefd93ef044ae (patch) | |
| tree | 59cac853d826a993d2369a3846f4c3982284fb64 /src/test-helpers.h | |
| parent | Shape calculations. re-introduce grid of a smaller size. (http://article.gman... (diff) | |
| download | inkscape-f5023f704fb05b25d5fa6c78e0faefd93ef044ae.tar.gz inkscape-f5023f704fb05b25d5fa6c78e0faefd93ef044ae.zip | |
Fix remaining g_type_init deprecation issues
(bzr r12421)
Diffstat (limited to 'src/test-helpers.h')
| -rw-r--r-- | src/test-helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test-helpers.h b/src/test-helpers.h index bda48599e..001356e65 100644 --- a/src/test-helpers.h +++ b/src/test-helpers.h @@ -23,7 +23,10 @@ T* createSuiteAndDocument( void (*fun)(T*&) ) { T* suite = 0; +#if !GLIB_CHECK_VERSION(2,36,0) g_type_init(); +#endif + Inkscape::GC::init(); if ( !inkscape_get_instance() ) { |
