[gedit] Revert "No longer use gedit_utils_str_end_truncate()"



commit 0b354238473694a09a7117a3de8c80e7358d4130
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Nov 6 13:02:55 2019 -0600

    Revert "No longer use gedit_utils_str_end_truncate()"
    
    This reverts commit 349dcfa4d335567451327693919db9836bf1937a.

 gedit/gedit-commands-search.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gedit/gedit-commands-search.c b/gedit/gedit-commands-search.c
index 918206570..33a2f56a0 100644
--- a/gedit/gedit-commands-search.c
+++ b/gedit/gedit-commands-search.c
@@ -31,7 +31,6 @@
 #include <string.h>
 #include <glib/gi18n.h>
 #include <gdk/gdkkeysyms.h>
-#include <tepl/tepl.h>
 
 #include "gedit-debug.h"
 #include "gedit-statusbar.h"
@@ -134,7 +133,7 @@ text_not_found (GeditWindow        *window,
        gchar *truncated_text;
 
        search_text = gedit_replace_dialog_get_search_text (replace_dialog);
-       truncated_text = tepl_utils_str_end_truncate (search_text, MAX_MSG_LENGTH);
+       truncated_text = gedit_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]