Skip to content

Commit

Permalink
Rename G_UNICODE_COMBINING_MARK cases
Browse files Browse the repository at this point in the history
This is the old name for G_UNICODE_SPACING_MARK, and deprecated since
glib 2.30 in 2011.
  • Loading branch information
hadess committed Sep 13, 2019
1 parent f2adb25 commit da9ff27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rb-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ rb_string_split_words (const gchar *string)
}

break;
case G_UNICODE_COMBINING_MARK:
case G_UNICODE_SPACING_MARK:
case G_UNICODE_ENCLOSING_MARK:
case G_UNICODE_NON_SPACING_MARK:
case G_UNICODE_CONNECT_PUNCTUATION:
Expand Down Expand Up @@ -493,7 +493,7 @@ rb_search_fold (const char *original)

for (cur = unicode; *cur != 0; cur++) {
switch (g_unichar_type (*cur)) {
case G_UNICODE_COMBINING_MARK:
case G_UNICODE_SPACING_MARK:
case G_UNICODE_ENCLOSING_MARK:
case G_UNICODE_NON_SPACING_MARK:
case G_UNICODE_CONNECT_PUNCTUATION:
Expand Down

0 comments on commit da9ff27

Please sign in to comment.