Add simple string "search" function

Add a pair of functions to make it easier to do simple string matching.

This will be useful for use with things like GtkSearchBar and will also
be the basis of the searching done by the (soon to appear)
g_desktop_app_info_search()

https://bugzilla.gnome.org/show_bug.cgi?id=709753
This commit is contained in:
Ryan Lortie
2013-10-14 14:37:10 -04:00
parent 4c510801cf
commit 38dfce5992
3 changed files with 251 additions and 0 deletions

View File

@@ -1282,6 +1282,8 @@ g_strrstr_len
g_str_has_prefix
g_str_has_suffix
g_strcmp0
g_str_tokenize_and_fold
g_str_match_string
<SUBSECTION>
g_strlcpy