[gedit/wip/swilmet/tepl-step3: 18/22] No longer use gedit_utils_str_end_truncate()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/swilmet/tepl-step3: 18/22] No longer use gedit_utils_str_end_truncate()
- Date: Thu, 7 Nov 2019 13:50:29 +0000 (UTC)
commit 6a8679f4e024a94f11cc75c5e5dff8f02c8df0ff
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Nov 5 07:14:57 2019 +0100
No longer use gedit_utils_str_end_truncate()
gedit/gedit-commands-search.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gedit/gedit-commands-search.c b/gedit/gedit-commands-search.c
index 33a2f56a0..918206570 100644
--- a/gedit/gedit-commands-search.c
+++ b/gedit/gedit-commands-search.c
@@ -31,6 +31,7 @@
#include <string.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
+#include <tepl/tepl.h>
#include "gedit-debug.h"
#include "gedit-statusbar.h"
@@ -133,7 +134,7 @@ text_not_found (GeditWindow *window,
gchar *truncated_text;
search_text = gedit_replace_dialog_get_search_text (replace_dialog);
- truncated_text = gedit_utils_str_end_truncate (search_text, MAX_MSG_LENGTH);
+ truncated_text = tepl_utils_str_end_truncate (search_text, MAX_MSG_LENGTH);
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->generic_message_cid,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]