beast r4450 - trunk/bse
- From: stw svn gnome org
- To: svn-commits-list gnome org
- Subject: beast r4450 - trunk/bse
- Date: Sat, 15 Mar 2008 08:49:29 +0000 (GMT)
Author: stw
Date: Sat Mar 15 08:49:29 2008
New Revision: 4450
URL: http://svn.gnome.org/viewvc/beast?rev=4450&view=rev
Log:
Use BIRNET_PRETTY_FUNCTION instead of G_GNUC_PRETTY_FUNCTION.
Modified:
trunk/bse/bsecategories.c
trunk/bse/bseutils.c
Modified: trunk/bse/bsecategories.c
==============================================================================
--- trunk/bse/bsecategories.c (original)
+++ trunk/bse/bsecategories.c Sat Mar 15 08:49:29 2008
@@ -199,7 +199,7 @@
g_return_if_fail (category != NULL);
- centry = centry_new (G_GNUC_PRETTY_FUNCTION, category, type);
+ centry = centry_new (BIRNET_PRETTY_FUNCTION, category, type);
check_type (type);
if (centry)
{
Modified: trunk/bse/bseutils.c
==============================================================================
--- trunk/bse/bseutils.c (original)
+++ trunk/bse/bseutils.c Sat Mar 15 08:49:29 2008
@@ -292,8 +292,8 @@
if (pixdata->width < 1 || pixdata->width > 128 ||
pixdata->height < 1 || pixdata->height > 128)
{
- g_warning (G_GNUC_PRETTY_FUNCTION "(): `pixdata' exceeds dimension limits (%ux%u)",
- pixdata->width, pixdata->height);
+ g_warning ("%s(): `pixdata' exceeds dimension limits (%ux%u)",
+ BIRNET_PRETTY_FUNCTION, pixdata->width, pixdata->height);
return NULL;
}
bpp = pixdata->type & BSE_PIXDATA_RGB_MASK;
@@ -301,7 +301,8 @@
if ((bpp != BSE_PIXDATA_RGB && bpp != BSE_PIXDATA_RGBA) ||
(encoding && encoding != BSE_PIXDATA_1BYTE_RLE))
{
- g_warning (G_GNUC_PRETTY_FUNCTION "(): `pixdata' format/encoding unrecognized");
+ g_warning ("%s(): `pixdata' format/encoding unrecognized",
+ BIRNET_PRETTY_FUNCTION);
return NULL;
}
if (!pixdata->encoded_pix_data)
@@ -356,7 +357,7 @@
rle_buffer += length;
}
if (check_overrun)
- g_warning (G_GNUC_PRETTY_FUNCTION "(): `pixdata' encoding screwed");
+ g_warning ("%s(): `pixdata' encoding screwed", BIRNET_PRETTY_FUNCTION);
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]