[vte] widget: Fix Since version for new API



commit 205aecf066326de679138106a004a0e893935a9f
Author: Christian Persch <chpe src gnome org>
Date:   Sat Nov 27 19:45:07 2021 +0100

    widget: Fix Since version for new API

 src/vte/vteterminal.h | 3 ++-
 src/vtegtk.cc         | 7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h
index a3d240f1..31e9038f 100644
--- a/src/vte/vteterminal.h
+++ b/src/vte/vteterminal.h
@@ -216,7 +216,8 @@ void vte_terminal_copy_clipboard_format(VteTerminal *terminal,
 _VTE_PUBLIC
 void vte_terminal_paste_clipboard(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
 _VTE_PUBLIC
-void vte_terminal_paste_text(VteTerminal *terminal, const char *text) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
+void vte_terminal_paste_text(VteTerminal *terminal,
+                             char const* text) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
 _VTE_PUBLIC
 void vte_terminal_copy_primary(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1);
 _VTE_PUBLIC
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 0e48da47..0dbf5b00 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -2787,11 +2787,12 @@ catch (...)
  * Sends @text to the terminal's child as if retrived from the clipboard,
  * this differs from vte_terminal_feed_child() in that it may process
  * @text before passing it to the child (e.g. apply bracketed mode)
- * 
- * Since: 0.70
+ *
+ * Since: 0.68
  */
 void
-vte_terminal_paste_text(VteTerminal *terminal, const char *text) noexcept
+vte_terminal_paste_text(VteTerminal *terminal,
+                        char const* text) noexcept
 try
 {
         g_return_if_fail(VTE_IS_TERMINAL(terminal));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]