Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Strip the prefix "IA__" from function names, since that is what GTK+ …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
Matthias Clasen authored and Matthias Clasen committed Sep 9, 2004
1 parent 7782c17 commit ac3ffd1
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -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>

* glib/gmessages.c (g_return_if_fail_warning):
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-10
@@ -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>

* glib/gmessages.c (g_return_if_fail_warning):
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-12
@@ -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>

* glib/gmessages.c (g_return_if_fail_warning):
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-6
@@ -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>

* glib/gmessages.c (g_return_if_fail_warning):
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-8
@@ -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>

* glib/gmessages.c (g_return_if_fail_warning):
Expand Down
6 changes: 6 additions & 0 deletions glib/gmessages.c
Expand Up @@ -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",
Expand Down

0 comments on commit ac3ffd1

Please sign in to comment.