[beast: 5/6] BEAST: use __func__ to print error messages
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 5/6] BEAST: use __func__ to print error messages
- Date: Mon, 5 Oct 2015 22:51:52 +0000 (UTC)
commit 29ce221179169cf2d8b43e6e5c9a033a3e08c7d5
Author: Tim Janik <timj gnu org>
Date: Fri Sep 25 00:07:32 2015 +0200
BEAST: use __func__ to print error messages
beast-gtk/bstkeybindings.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstkeybindings.cc b/beast-gtk/bstkeybindings.cc
index ba4a0ae..5f121ba 100644
--- a/beast-gtk/bstkeybindings.cc
+++ b/beast-gtk/bstkeybindings.cc
@@ -255,7 +255,7 @@ key_bindings_check_action (gpointer data,
case ACTION_LOAD:
return TRUE;
default:
- g_warning ("%s: unknown action: %lu", G_STRFUNC, action);
+ g_warning ("%s: unknown action: %lu", __func__, action);
return FALSE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]