[beast: 13/16] BSE: use __func__ instead of a Rapicorn macro
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 13/16] BSE: use __func__ instead of a Rapicorn macro
- Date: Sat, 30 Sep 2017 01:03:48 +0000 (UTC)
commit 46b7890272809e1d34c5ab29d56a1745e784f90b
Author: Tim Janik <timj gnu org>
Date: Mon Sep 18 23:00:19 2017 +0200
BSE: use __func__ instead of a Rapicorn macro
Signed-off-by: Tim Janik <timj gnu org>
bse/bsecategories.cc | 2 +-
bse/bseutils.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bse/bsecategories.cc b/bse/bsecategories.cc
index 5101c52..10fddb5 100644
--- a/bse/bsecategories.cc
+++ b/bse/bsecategories.cc
@@ -133,7 +133,7 @@ void
bse_categories_register (const std::string &category, const char *i18n_category, GType type, const uint8
*pixstream)
{
assert_return (!category.empty());
- Bse::Category *centry = centry_new (RAPICORN_SIMPLE_FUNCTION, category, type);
+ Bse::Category *centry = centry_new (__func__, category, type);
check_type (type);
if (centry)
{
diff --git a/bse/bseutils.cc b/bse/bseutils.cc
index 8c1b80d..a7ef3e5 100644
--- a/bse/bseutils.cc
+++ b/bse/bseutils.cc
@@ -254,7 +254,7 @@ bse_icon_from_pixdata (const BsePixdata *pixdata)
rle_buffer += length;
}
if (check_overrun)
- Bse::warning ("%s(): `pixdata' encoding screwed", RAPICORN_SIMPLE_FUNCTION);
+ Bse::warning ("%s(): `pixdata' encoding screwed", __func__);
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]