app/base/tile-manager.c use G_STRLOC instead of G_GNUC_FUNCTION (which is
2008-01-28 Michael Natterer <mitch@gimp.org> * app/base/tile-manager.c * plug-ins/common/lcms.c: use G_STRLOC instead of G_GNUC_FUNCTION (which is now deprecated). svn path=/trunk/; revision=24727
This commit is contained in:

committed by
Michael Natterer

parent
0f993d3f42
commit
31a5214fd5
@ -1,3 +1,9 @@
|
||||
2008-01-28 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/base/tile-manager.c
|
||||
* plug-ins/common/lcms.c: use G_STRLOC instead of
|
||||
G_GNUC_FUNCTION (which is now deprecated).
|
||||
|
||||
2008-01-28 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* modules/controller_dx_dinput.c: Make it compile again.
|
||||
|
@ -400,7 +400,7 @@ tile_manager_map_tile (TileManager *tm,
|
||||
|
||||
if (G_UNLIKELY (num < 0))
|
||||
{
|
||||
g_warning ("%s: tile coordinates out of range.", G_GNUC_FUNCTION);
|
||||
g_warning ("%s: tile coordinates out of range.", G_STRLOC);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -427,13 +427,13 @@ tile_manager_map (TileManager *tm,
|
||||
|
||||
if (G_UNLIKELY ((tile_num < 0) || (tile_num >= ntiles)))
|
||||
{
|
||||
g_warning ("%s: tile out of range", G_GNUC_FUNCTION);
|
||||
g_warning ("%s: tile out of range", G_STRLOC);
|
||||
return;
|
||||
}
|
||||
|
||||
if (G_UNLIKELY (! tm->tiles))
|
||||
{
|
||||
g_warning ("%s: empty tile level - initializing", G_GNUC_FUNCTION);
|
||||
g_warning ("%s: empty tile level - initializing", G_STRLOC);
|
||||
|
||||
tm->tiles = g_new (Tile *, ntiles);
|
||||
tiles = tm->tiles;
|
||||
@ -475,14 +475,14 @@ tile_manager_map (TileManager *tm,
|
||||
#endif
|
||||
|
||||
if (G_UNLIKELY (! srctile->valid))
|
||||
g_warning("%s: srctile not validated yet! please report", G_GNUC_FUNCTION);
|
||||
g_warning("%s: srctile not validated yet! please report", G_STRLOC);
|
||||
|
||||
if (G_UNLIKELY ((*tile_ptr)->ewidth != srctile->ewidth ||
|
||||
(*tile_ptr)->eheight != srctile->eheight ||
|
||||
(*tile_ptr)->bpp != srctile->bpp))
|
||||
{
|
||||
g_warning ("%s: nonconformant map (%p -> %p)",
|
||||
G_GNUC_FUNCTION, srctile, *tile_ptr);
|
||||
G_STRLOC, srctile, *tile_ptr);
|
||||
}
|
||||
|
||||
tile_detach (*tile_ptr, tm, tile_num);
|
||||
@ -645,7 +645,7 @@ tile_manager_get_tile_coordinates (TileManager *tm,
|
||||
|
||||
if (G_UNLIKELY (tl == NULL))
|
||||
{
|
||||
g_warning ("%s: tile not attached to manager", G_GNUC_FUNCTION);
|
||||
g_warning ("%s: tile not attached to manager", G_STRLOC);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -689,7 +689,7 @@ tile_manager_map_over_tile (TileManager *tm,
|
||||
|
||||
if (G_UNLIKELY (tl == NULL))
|
||||
{
|
||||
g_warning ("%s: tile not attached to manager", G_GNUC_FUNCTION);
|
||||
g_warning ("%s: tile not attached to manager", G_STRLOC);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -948,7 +948,7 @@ lcms_image_transform_rgb (gint32 image,
|
||||
break;
|
||||
|
||||
default:
|
||||
g_warning ("%s: unexpected bpp", G_GNUC_FUNCTION);
|
||||
g_warning ("%s: unexpected bpp", G_STRLOC);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user