summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2015-12-26 23:02:45 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2015-12-26 23:02:45 +0000
commitedf1e6f457cdf895bae7dc03967561d850702c04 (patch)
tree66de93ed5853c29c5c809a5148eff19e0f216d2a /src
parentSeparate C++-specific compiler flags to avoid C warnings about C++11 compatib... (diff)
downloadinkscape-edf1e6f457cdf895bae7dc03967561d850702c04.tar.gz
inkscape-edf1e6f457cdf895bae7dc03967561d850702c04.zip
Replace deprecated GC direct variable access.
(bzr r14543)
Diffstat (limited to 'src')
-rw-r--r--src/inkgc/gc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inkgc/gc.cpp b/src/inkgc/gc.cpp
index 90c02d9c8..ffa94ea2a 100644
--- a/src/inkgc/gc.cpp
+++ b/src/inkgc/gc.cpp
@@ -28,9 +28,9 @@ void display_warning(char *msg, GC_word arg) {
}
void do_init() {
- GC_no_dls = 1;
- GC_all_interior_pointers = 1;
- GC_finalize_on_demand = 0;
+ GC_set_no_dls(1);
+ GC_set_all_interior_pointers(1);
+ GC_set_finalize_on_demand(0);
GC_INIT();