diff options
Diffstat (limited to 'src/undo.h')
-rw-r--r-- | src/undo.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2023 Robin Haberkorn + * Copyright (C) 2012-2024 Robin Haberkorn * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -164,8 +164,8 @@ gpointer teco_undo_push_size(teco_undo_action_t action_cb, gsize size) * significantly improves batch-mode performance. */ -TECO_DECLARE_UNDO_SCALAR(gchar); -#define teco_undo_gchar(VAR) (*teco_undo_object_gchar_push(&(VAR))) +TECO_DECLARE_UNDO_SCALAR(gunichar); +#define teco_undo_gunichar(VAR) (*teco_undo_object_gunichar_push(&(VAR))) TECO_DECLARE_UNDO_SCALAR(gint); #define teco_undo_gint(VAR) (*teco_undo_object_gint_push(&(VAR))) @@ -243,5 +243,5 @@ TECO_DECLARE_UNDO_SCALAR(gconstpointer); /** @} */ -void teco_undo_pop(gint pc); +void teco_undo_pop(gsize pc); void teco_undo_clear(void); |