diff options
author | infirit <[email protected]> | 2014-07-01 14:23:44 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-01 15:06:50 +0200 |
commit | 88214725a380c8616dbd11c0106c1a14e950f2ce (patch) | |
tree | 503353a6b8da0f2d36c868a2922b0622f96a8d95 /mate-dictionary/libgdict/gdict-defbox.c | |
parent | 17008f9f3f248364b8eb248934afd3bf0919894f (diff) | |
download | mate-utils-88214725a380c8616dbd11c0106c1a14e950f2ce.tar.bz2 mate-utils-88214725a380c8616dbd11c0106c1a14e950f2ce.tar.xz |
Drop support for Glib < 2.36
Diffstat (limited to 'mate-dictionary/libgdict/gdict-defbox.c')
-rw-r--r-- | mate-dictionary/libgdict/gdict-defbox.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c index b5618ddc..fc7697a5 100644 --- a/mate-dictionary/libgdict/gdict-defbox.c +++ b/mate-dictionary/libgdict/gdict-defbox.c @@ -52,15 +52,6 @@ #include "gdict-enum-types.h" #include "gdict-marshal.h" -/** - * G_UNICODE_COMBINING_MARK was deprecated on glib 2.30 - * use G_UNICODE_SPACING_MARK - */ - -#if !GLIB_CHECK_VERSION(2, 29, 14) - #define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK -#endif - #define QUERY_MARGIN 48 #define ERROR_MARGIN 24 @@ -405,7 +396,7 @@ exact_prefix_cmp (const gchar *string, /* If string contains prefix, check that prefix is not followed * by a unicode mark symbol, e.g. that trailing 'a' in prefix * is not part of two-char a-with-hat symbol in string. */ - return type != G_UNICODE_SPACING_MARK && + return type != G_UNICODE_COMBINING_MARK && type != G_UNICODE_ENCLOSING_MARK && type != G_UNICODE_NON_SPACING_MARK; } |