mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
Strip the prefix "IA__" from function names, since that is what GTK+ uses
2004-09-09 Matthias Clasen <mclasen@redhat.com> * 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.
This commit is contained in:
parent
7782c17f37
commit
ac3ffd1794
@ -1,3 +1,9 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* 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 <otaylor@redhat.com>
|
Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmessages.c (g_return_if_fail_warning):
|
* glib/gmessages.c (g_return_if_fail_warning):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* 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 <otaylor@redhat.com>
|
Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmessages.c (g_return_if_fail_warning):
|
* glib/gmessages.c (g_return_if_fail_warning):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* 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 <otaylor@redhat.com>
|
Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmessages.c (g_return_if_fail_warning):
|
* glib/gmessages.c (g_return_if_fail_warning):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* 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 <otaylor@redhat.com>
|
Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmessages.c (g_return_if_fail_warning):
|
* glib/gmessages.c (g_return_if_fail_warning):
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2004-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* 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 <otaylor@redhat.com>
|
Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmessages.c (g_return_if_fail_warning):
|
* glib/gmessages.c (g_return_if_fail_warning):
|
||||||
|
@ -565,6 +565,12 @@ g_return_if_fail_warning (const char *log_domain,
|
|||||||
const char *pretty_function,
|
const char *pretty_function,
|
||||||
const char *expression)
|
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 (log_domain,
|
||||||
G_LOG_LEVEL_CRITICAL,
|
G_LOG_LEVEL_CRITICAL,
|
||||||
"%s: assertion `%s' failed",
|
"%s: assertion `%s' failed",
|
||||||
|
Loading…
Reference in New Issue
Block a user