[gedit] Revert "Utils: deprecate str_end_truncate()"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Revert "Utils: deprecate str_end_truncate()"
- Date: Wed, 6 Nov 2019 19:04:45 +0000 (UTC)
commit e0bfb14e462a830adf5f3ac66229192f3be67bef
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Nov 6 13:02:56 2019 -0600
Revert "Utils: deprecate str_end_truncate()"
This reverts commit 76b1a9cb7c8db69f5dd8bf48bbf05cad980c94d2.
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 e97d3a8dc..6e1f2bf25 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -222,14 +222,6 @@ gedit_utils_str_middle_truncate (const gchar *string,
return tepl_utils_str_middle_truncate (string, truncate_length);
}
-/**
- * gedit_utils_str_end_truncate:
- * @string:
- * @truncate_length:
- *
- * Returns:
- * Deprecated: 3.36: Use tepl_utils_str_end_truncate() instead.
- */
gchar *
gedit_utils_str_end_truncate (const gchar *string,
guint truncate_length)
diff --git a/gedit/gedit-utils.h b/gedit/gedit-utils.h
index 14230c75f..5d992f1c1 100644
--- a/gedit/gedit-utils.h
+++ b/gedit/gedit-utils.h
@@ -53,7 +53,6 @@ gboolean gedit_utils_menu_position_under_tree_view (G
gchar *gedit_utils_str_middle_truncate (const gchar *string,
guint
truncate_length);
-G_DEPRECATED_FOR (tepl_utils_str_end_truncate)
gchar *gedit_utils_str_end_truncate (const gchar *string,
guint
truncate_length);
void gedit_utils_set_atk_name_description (GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]