Deprecate G_GNUC_(PRETTY)_FUNCTION.

2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION.



svn path=/trunk/; revision=6389
This commit is contained in:
Matthias Clasen
2008-01-27 23:42:33 +00:00
committed by Matthias Clasen
parent 69c903e5b2
commit 7bfc60de2e
11 changed files with 40 additions and 23 deletions

View File

@@ -183,8 +183,7 @@ g_input_stream_read (GInputStream *stream,
if (((gssize) count) < 0)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
_("Too large count value passed to %s"),
G_GNUC_PRETTY_FUNCTION);
_("Too large count value passed to %s"), __FUNCTION__);
return -1;
}
@@ -316,8 +315,7 @@ g_input_stream_skip (GInputStream *stream,
if (((gssize) count) < 0)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
_("Too large count value passed to %s"),
G_GNUC_PRETTY_FUNCTION);
_("Too large count value passed to %s"), __FUNCTION__);
return -1;
}
@@ -559,7 +557,7 @@ g_input_stream_read_async (GInputStream *stream,
user_data,
G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
_("Too large count value passed to %s"),
G_GNUC_PRETTY_FUNCTION);
__FUNCTION__);
return;
}
@@ -684,7 +682,7 @@ g_input_stream_skip_async (GInputStream *stream,
user_data,
G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
_("Too large count value passed to %s"),
G_GNUC_PRETTY_FUNCTION);
__FUNCTION__);
return;
}