[gedit] Revert "Utils: deprecate str_middle_truncate()"



commit 937e56094106c420391bee27922023682c98e751
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Nov 6 13:02:54 2019 -0600

    Revert "Utils: deprecate str_middle_truncate()"
    
    This reverts commit 80a69c2eb0e8a31e92653d2d209091f269611724.

 gedit/gedit-utils.c | 8 --------
 gedit/gedit-utils.h | 1 -
 2 files changed, 9 deletions(-)
---
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 58adac0f3..e97d3a8dc 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -215,14 +215,6 @@ gedit_warning (GtkWindow *parent, const gchar *format, ...)
        gtk_widget_show (dialog);
 }
 
-/**
- * gedit_utils_str_middle_truncate:
- * @string:
- * @truncate_length:
- *
- * Returns:
- * Deprecated: 3.36: Use tepl_utils_str_middle_truncate() instead.
- */
 gchar *
 gedit_utils_str_middle_truncate (const gchar *string,
                                 guint        truncate_length)
diff --git a/gedit/gedit-utils.h b/gedit/gedit-utils.h
index ab8456f99..14230c75f 100644
--- a/gedit/gedit-utils.h
+++ b/gedit/gedit-utils.h
@@ -51,7 +51,6 @@ void                       gedit_utils_menu_position_under_widget             (G
 gboolean                   gedit_utils_menu_position_under_tree_view          (GtkTreeView     *tree_view,
                                                                                GdkRectangle    *rect);
 
-G_DEPRECATED_FOR (tepl_utils_str_middle_truncate)
 gchar                     *gedit_utils_str_middle_truncate                    (const gchar     *string,
                                                                                guint            
truncate_length);
 G_DEPRECATED_FOR (tepl_utils_str_end_truncate)


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