[beast/devel: 6/35] BST: adapt to Rapicorn updates, use string_format() in particular



commit a058c6176d704669826fe66eaa043e6fea88ad82
Author: Tim Janik <timj gnu org>
Date:   Sun May 12 04:37:11 2013 +0200

    BST: adapt to Rapicorn updates, use string_format() in particular

 beast-gtk/bstmain.cc        |    4 ++--
 beast-gtk/bstusermessage.cc |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/beast-gtk/bstmain.cc b/beast-gtk/bstmain.cc
index f16bc4f..1ab6716 100644
--- a/beast-gtk/bstmain.cc
+++ b/beast-gtk/bstmain.cc
@@ -134,7 +134,7 @@ main (int   argc,
 
   /* start BSE core and connect */
   bst_splash_update_item (beast_splash, _("BSE Core"));
-  Bse::String bseoptions = Bse::string_printf ("debug-extensions=%d", bst_debug_extensions);
+  Bse::String bseoptions = Bse::string_format ("debug-extensions=%d", bst_debug_extensions);
   Bse::init_async (&argc, argv, "BEAST", Bse::string_split (bseoptions, ":"));
   sfi_glue_context_push (Bse::init_glue_context ("BEAST", bst_main_loop_wakeup));
   source = g_source_simple (GDK_PRIORITY_EVENTS, // G_PRIORITY_HIGH - 100,
@@ -285,7 +285,7 @@ main (int   argc,
                 exit (1);
               if (unlink (argv[i]) < 0)
                 {
-                  perror (Rapicorn::string_printf ("%s: failed to remove", argv[i]).c_str());
+                  perror (Rapicorn::string_format ("%s: failed to remove", argv[i]).c_str());
                   exit (2);
                 }
               error = bse_project_store_bse (project, 0, argv[i], TRUE);
diff --git a/beast-gtk/bstusermessage.cc b/beast-gtk/bstusermessage.cc
index 4e0f4f0..7c72ae0 100644
--- a/beast-gtk/bstusermessage.cc
+++ b/beast-gtk/bstusermessage.cc
@@ -768,7 +768,7 @@ server_user_message (const Bse::UserMessage &umsg)
   msg.primary = umsg.text1.c_str();
   msg.secondary = umsg.text2.c_str();
   msg.details = umsg.text3.c_str();
-  Bse::String cfg = Bse::string_printf (_("Show messages about %s"), umsg.label.c_str());
+  Bse::String cfg = Bse::string_format (_("Show messages about %s"), umsg.label.c_str());
   msg.config_check = cfg.c_str();
   msg.ident = etype.enum_find (umsg.type).ident;
   msg.label = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]