summaryrefslogtreecommitdiff
path: root/src/glibext/generators
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-11-11 18:47:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-11-11 18:47:15 (GMT)
commit04f9aebee5249624ccd4173989354cd93474376f (patch)
tree90c23774e2898be78a372650a6d6d219104196fb /src/glibext/generators
parent77c68b54d4b2970a749eb4a658c32d2a16deacf6 (diff)
Extended the Python bindings.
Diffstat (limited to 'src/glibext/generators')
-rw-r--r--src/glibext/generators/hex.c2
-rw-r--r--src/glibext/generators/prologue.c2
-rw-r--r--src/glibext/generators/rborder.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/glibext/generators/hex.c b/src/glibext/generators/hex.c
index 48fc5b3..6a0287d 100644
--- a/src/glibext/generators/hex.c
+++ b/src/glibext/generators/hex.c
@@ -386,7 +386,7 @@ static int g_hex_generator_contains_cursor(const GHexGenerator *generator, size_
assert(G_IS_BINARY_CURSOR(cursor));
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &addr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &addr);
init_vmpa(&pos, generator->bytes_per_line * index, VMPA_NO_VIRTUAL);
diff --git a/src/glibext/generators/prologue.c b/src/glibext/generators/prologue.c
index 63d326b..133220d 100644
--- a/src/glibext/generators/prologue.c
+++ b/src/glibext/generators/prologue.c
@@ -328,7 +328,7 @@ static int g_intro_generator_contains_cursor(const GIntroGenerator *generator, s
assert(G_IS_BINARY_CURSOR(cursor));
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &addr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &addr);
result = cmp_vmpa(&addr, &generator->addr);
diff --git a/src/glibext/generators/rborder.c b/src/glibext/generators/rborder.c
index 640fa2d..7d90f79 100644
--- a/src/glibext/generators/rborder.c
+++ b/src/glibext/generators/rborder.c
@@ -305,7 +305,7 @@ static int g_border_generator_contains_cursor(const GBorderGenerator *generator,
assert(G_IS_BINARY_CURSOR(cursor));
- g_binary_cursor_get_info(G_BINARY_CURSOR(cursor), &addr);
+ g_binary_cursor_retrieve(G_BINARY_CURSOR(cursor), &addr);
result = cmp_vmpa(&addr, &generator->addr);