Index: src/main.c                                            
===================================================================
--- src/main.c                                                     
+++ src/main.c  2010-03-07 21:57:17.000000000 +0100                
@@ -559,7 +559,7 @@                                                
          g_print("opt %c has %s\n", opts, argv[optind]);          
       if (opts == 'h')                                            
         {                                                         
-          g_print (helptext);                                     
+          g_print (helptext, "%s");                               
           exit (0);                                               
         }                                                         
       else if (opts == 's')                                       
@@ -583,13 +583,13 @@                                              
         {                                                         
           g_print (_("\nGNU Denemo version "));                   
           g_print (VERSION ".\n\n");                              
-          g_print (copytext);                                     
+          g_print (copytext, "%s");                               
           exit (0);                                               
         }                                                         
     }                                                             
                                                                   
   g_print (_("\nGNU Denemo, a gtk+ frontend for GNU Lilypond\n"));
-  g_print (copytext);                                             
+  g_print (copytext, "%s");                                       
                                                                   
   g_free (helptext);                                              
                                                                   
Index: src/midi.c                                                  
===================================================================
--- src/midi.c
+++ src/midi.c  2010-03-07 21:57:45.000000000 +0100
@@ -370,7 +370,7 @@
     if(channel)
       g_io_channel_shutdown(channel, FALSE, &error);
     if(error)
-      g_warning(error->message);
+      g_warning(error->message, "%s");
     else
       channel = NULL;
     return 0;
Index: src/lilydirectives.c
===================================================================
--- src/lilydirectives.c
+++ src/lilydirectives.c        2010-03-07 22:01:14.000000000 +0100
@@ -2152,7 +2152,7 @@
     return ret;
   }
   GError *error = (GError*)execute_script_file(filename);
-  if(error) g_warning(error->message);
+  if(error) g_warning(error->message, "%s");
   g_free(filename);
   return ret;
 }

