[gedit] Utils: put deprecated functions at the end
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Utils: put deprecated functions at the end
- Date: Mon, 18 Nov 2019 16:03:48 +0000 (UTC)
commit 339bc8d6992b856e48fa873172b07b1c892aacbd
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Nov 18 16:59:47 2019 +0100
Utils: put deprecated functions at the end
docs/reference/gedit-sections.txt | 6 +++---
gedit/gedit-utils.h | 21 ++++++++++-----------
2 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/docs/reference/gedit-sections.txt b/docs/reference/gedit-sections.txt
index 1814fdf4c..0306edd9d 100644
--- a/docs/reference/gedit-sections.txt
+++ b/docs/reference/gedit-sections.txt
@@ -353,11 +353,9 @@ GBOOLEAN_TO_POINTER
GPOINTER_TO_BOOLEAN
gedit_utils_menu_position_under_widget
gedit_utils_menu_position_under_tree_view
-gedit_utils_str_middle_truncate
gedit_utils_set_atk_name_description
gedit_utils_set_atk_relation
gedit_warning
-gedit_utils_make_valid_utf8
gedit_utils_get_current_workspace
gedit_utils_get_window_workspace
gedit_utils_basename_for_display
@@ -368,7 +366,9 @@ gedit_utils_get_current_viewport
gedit_utils_is_valid_location
gedit_utils_location_get_dirname_for_display
gedit_utils_set_direct_save_filename
-gedit_utils_str_end_truncate
gedit_utils_newline_type_to_string
+gedit_utils_make_valid_utf8
+gedit_utils_str_middle_truncate
+gedit_utils_str_end_truncate
gedit_utils_replace_home_dir_with_tilde
</SECTION>
diff --git a/gedit/gedit-utils.h b/gedit/gedit-utils.h
index 60e102ab3..b9a31a4c4 100644
--- a/gedit/gedit-utils.h
+++ b/gedit/gedit-utils.h
@@ -41,12 +41,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)
-gchar *gedit_utils_str_end_truncate (const gchar *string,
- guint
truncate_length);
void gedit_utils_set_atk_name_description (GtkWidget *widget,
const gchar *name,
const gchar *description);
@@ -56,9 +50,6 @@ void gedit_utils_set_atk_relation (G
void gedit_warning (GtkWindow *parent,
const gchar *format,
...) G_GNUC_PRINTF(2, 3);
-G_DEPRECATED_FOR (g_utf8_make_valid)
-gchar *gedit_utils_make_valid_utf8 (const char *name);
-
gchar *gedit_utils_location_get_dirname_for_display (GFile *location);
guint gedit_utils_get_current_workspace (GdkScreen *screen);
@@ -77,14 +68,22 @@ gboolean gedit_utils_decode_uri (c
gchar **port,
gchar **path);
-
-
/* Turns data from a drop into a list of well formatted uris */
gchar **gedit_utils_drop_get_uris (GtkSelectionData
*selection_data);
+
GtkSourceCompressionType gedit_utils_get_compression_type_from_content_type (const gchar
*content_type);
gchar *gedit_utils_set_direct_save_filename (GdkDragContext
*context);
const gchar *gedit_utils_newline_type_to_string (GtkSourceNewlineType
newline_type);
+G_DEPRECATED_FOR (g_utf8_make_valid)
+gchar *gedit_utils_make_valid_utf8 (const char *name);
+
+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)
+gchar *gedit_utils_str_end_truncate (const gchar *string,
+ guint
truncate_length);
G_DEPRECATED_FOR (tepl_utils_replace_home_dir_with_tilde)
gchar *gedit_utils_replace_home_dir_with_tilde (const gchar *uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]