From: Matthias Clasen Date: Thu, 9 Sep 2004 19:41:23 +0000 (+0000) Subject: Strip the prefix "IA__" from function names, since that is what GTK+ uses X-Git-Tag: GLIB_2_5_3~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=ac3ffd179436ca181783de8e50e7e910aaa5b956;p=platform%2Fupstream%2Fglib.git Strip the prefix "IA__" from function names, since that is what GTK+ uses 2004-09-09 Matthias Clasen * glib/gmessages.c (g_return_if_fail_warning): Strip the prefix "IA__" from function names, since that is what GTK+ uses for the PLT-reduction aliases. --- diff --git a/ChangeLog b/ChangeLog index d92f9eb..cfe668b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-09 Matthias Clasen + + * glib/gmessages.c (g_return_if_fail_warning): Strip the + prefix "IA__" from function names, since that is what + GTK+ uses for the PLT-reduction aliases. + Thu Sep 9 13:52:26 2004 Owen Taylor * glib/gmessages.c (g_return_if_fail_warning): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d92f9eb..cfe668b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-09-09 Matthias Clasen + + * glib/gmessages.c (g_return_if_fail_warning): Strip the + prefix "IA__" from function names, since that is what + GTK+ uses for the PLT-reduction aliases. + Thu Sep 9 13:52:26 2004 Owen Taylor * glib/gmessages.c (g_return_if_fail_warning): diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d92f9eb..cfe668b 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2004-09-09 Matthias Clasen + + * glib/gmessages.c (g_return_if_fail_warning): Strip the + prefix "IA__" from function names, since that is what + GTK+ uses for the PLT-reduction aliases. + Thu Sep 9 13:52:26 2004 Owen Taylor * glib/gmessages.c (g_return_if_fail_warning): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d92f9eb..cfe668b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-09-09 Matthias Clasen + + * glib/gmessages.c (g_return_if_fail_warning): Strip the + prefix "IA__" from function names, since that is what + GTK+ uses for the PLT-reduction aliases. + Thu Sep 9 13:52:26 2004 Owen Taylor * glib/gmessages.c (g_return_if_fail_warning): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d92f9eb..cfe668b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-09-09 Matthias Clasen + + * glib/gmessages.c (g_return_if_fail_warning): Strip the + prefix "IA__" from function names, since that is what + GTK+ uses for the PLT-reduction aliases. + Thu Sep 9 13:52:26 2004 Owen Taylor * glib/gmessages.c (g_return_if_fail_warning): diff --git a/glib/gmessages.c b/glib/gmessages.c index da1d939..8e33e08 100644 --- a/glib/gmessages.c +++ b/glib/gmessages.c @@ -565,6 +565,12 @@ g_return_if_fail_warning (const char *log_domain, const char *pretty_function, const char *expression) { + /* + * Omit the prefix used by the PLT-reduction + * technique used in GTK+. + */ + if (g_str_has_prefix (pretty_function, "IA__")) + pretty_function += 4; g_log (log_domain, G_LOG_LEVEL_CRITICAL, "%s: assertion `%s' failed",