aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-19 12:52:47 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-19 12:52:47 +0300
commit1c7032c49d680a8b34b0415c2e4808f27494c9a4 (patch)
treeb534b0217b575931559dadb709c513747cb05830 /src
parent257a0bf128e109442dce91c4aaa1d97fed17ad1a (diff)
downloadsciteco-1c7032c49d680a8b34b0415c2e4808f27494c9a4.tar.gz
fixup cddc9bf83eb5cd2c69626b31ae7373342523b626: avoid g_prefix_error_literal()
This function requires glib v2.70, which impacted portability.
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 08e9315..0715b4b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -433,7 +433,7 @@ main(int argc, char **argv)
teco_qreg_table_init_locals(&local_qregs, TRUE);
if (!teco_ring_edit_by_name(NULL, &error)) {
- g_prefix_error_literal(&error, "Error editing unnamed file: ");
+ g_prefix_error(&error, "Error editing unnamed file: ");
goto cleanup;
}