[geany/geany] 4b4a41: utils: move utils_strv_shorten_file_list() out of GEANY_PRIVATE

Thomas Martitz git-noreply at xxxxx
Fri Sep 20 21:02:34 UTC 2019


Branch:      refs/heads/master
Author:      Thomas Martitz <kugel at rockbox.org>
Committer:   Thomas Martitz <kugel at rockbox.org>
Date:        Fri, 20 Sep 2019 21:02:34 UTC
Commit:      4b4a41e7f54eb1de3941854fc66f53811fb70ef9
             https://github.com/geany/geany/commit/4b4a41e7f54eb1de3941854fc66f53811fb70ef9

Log Message:
-----------
utils: move utils_strv_shorten_file_list() out of GEANY_PRIVATE

utils_strv_shorten_file_list() is part of the plugin API so hiding it
inside GEANY_PRIVATE is plain wrong.


Modified Paths:
--------------
    src/utils.h

Modified: src/utils.h
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -212,6 +212,8 @@ const gchar *utils_find_open_xml_tag_pos(const gchar sel[], gint size);
 
 gchar *utils_get_real_path(const gchar *file_name);
 
+gchar **utils_strv_shorten_file_list(gchar **file_names, gssize file_names_len);
+
 #ifdef GEANY_PRIVATE
 
 typedef enum
@@ -304,8 +306,6 @@ gchar *utils_strv_find_common_prefix(gchar **strv, gssize strv_len) G_GNUC_WARN_
 
 gchar *utils_strv_find_lcs(gchar **strv, gssize strv_len, const gchar *delim) G_GNUC_WARN_UNUSED_RESULT;
 
-gchar **utils_strv_shorten_file_list(gchar **file_names, gssize file_names_len);
-
 GSList *utils_get_config_files(const gchar *subdir);
 
 gchar *utils_get_help_url(const gchar *suffix);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list