[beast/devel: 45/77] SHELL: remove Birnet/Sfi Msg uses
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 45/77] SHELL: remove Birnet/Sfi Msg uses
- Date: Wed, 1 May 2013 17:31:06 +0000 (UTC)
commit 4f29b9c6b9f51b9801ffd2412020c4a019fc44f0
Author: Tim Janik <timj gnu org>
Date: Thu Apr 11 02:04:02 2013 +0200
SHELL: remove Birnet/Sfi Msg uses
shell/bsescminterp.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/shell/bsescminterp.cc b/shell/bsescminterp.cc
index ec5d704..eca764a 100644
--- a/shell/bsescminterp.cc
+++ b/shell/bsescminterp.cc
@@ -706,10 +706,10 @@ bse_scm_script_message (SCM s_type,
/* figure message level */
BSE_SCM_DEFER_INTS();
gchar *strtype = strdup_from_scm (s_type);
- SfiMsgType mtype = sfi_msg_lookup_type (strtype);
+ Bse::String mtype = strtype ? strtype : "";
g_free (strtype);
BSE_SCM_ALLOW_INTS();
- if (!mtype)
+ if (!strtype)
scm_wrong_type_arg ("bse-script-message", 2, s_type);
/* figure argument list length */
guint i = 0;
@@ -778,7 +778,7 @@ bse_scm_script_message (SCM s_type,
SfiSeq *args = sfi_seq_new ();
/* keep arguments in sync with bsejanitor.proc */
sfi_seq_append_string (args, BIRNET_LOG_DOMAIN);
- sfi_seq_append_string (args, sfi_msg_type_ident (mtype));
+ sfi_seq_append_string (args, mtype.c_str());
sfi_seq_append_string (args, title);
sfi_seq_append_string (args, primary);
sfi_seq_append_string (args, secondary);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]