diff options
author | Daniel Elstner <daniel@src.gnome.org> | 2006-11-28 22:03:41 +0000 |
---|---|---|
committer | Daniel Elstner <daniel@src.gnome.org> | 2006-11-28 22:03:41 +0000 |
commit | 62fd0ceb88f10a2f05031af2c8311eda0be1125c (patch) | |
tree | cbc5473ca25350ba9245418ea0bbd30e8ad9e907 /glib | |
parent | ab08261210f2bf68253e47790acae70e6b2af7c5 (diff) | |
download | glibmm-62fd0ceb88f10a2f05031af2c8311eda0be1125c.tar.gz |
Allow an empty pair of parentheses in the innermost match. This fixes the
* tools/pm/GtkDefs.pm (read_defs): Allow an empty pair of
parentheses in the innermost match. This fixes the problem of
gmmproc choking on "()" in the documentation strings. This would
still break on unmatched parentheses, though. Of course the
parser should just skip over quoted strings, but I wasn't able
to get that to work.
* glib/src/glib_enums.defs (GNormalizeMode): Manually fix the
improperly parsed value of G_NORMALIZE_NFD. Fortunately this
doesn't change anything since the "#error" token was interpreted
as zero, which happens to be the right value.
* glib/src/glib_functions.defs (g_iconv): Manually convert to
a function definition, as it was improperly parsed as a method
with a zero-length name (!) of object GIConv. This fixes the
annoying gmmproc warning about an allegedly unwrapped method.
Diffstat (limited to 'glib')
-rw-r--r-- | glib/src/glib_enums.defs | 2 | ||||
-rw-r--r-- | glib/src/glib_functions.defs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/glib/src/glib_enums.defs b/glib/src/glib_enums.defs index 29a8f52f..3a379676 100644 --- a/glib/src/glib_enums.defs +++ b/glib/src/glib_enums.defs @@ -577,7 +577,7 @@ (c-name "GNormalizeMode") (values '("default" "G_NORMALIZE_DEFAULT" "0") - '("nfd" "G_NORMALIZE_NFD" "#error") + '("nfd" "G_NORMALIZE_NFD" "0") '("default-compose" "G_NORMALIZE_DEFAULT_COMPOSE" "1") '("nfc" "G_NORMALIZE_NFC" "1") '("all" "G_NORMALIZE_ALL" "2") diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs index a7797ed5..58f949a2 100644 --- a/glib/src/glib_functions.defs +++ b/glib/src/glib_functions.defs @@ -1405,8 +1405,7 @@ ) ) -(define-method - (of-object "GIConv") +(define-function g_iconv (c-name "g_iconv") (return-type "size_t") (parameters |