File denemo-1.0.8-return.patch of Package denemo

diff -urN denemo-1.0.8_orig/src/importmusicxml.c denemo-1.0.8/src/importmusicxml.c
--- denemo-1.0.8_orig/src/importmusicxml.c	2013-09-12 16:18:00.204550066 +0200
+++ denemo-1.0.8/src/importmusicxml.c	2013-10-09 14:00:16.042664734 +0200
@@ -126,12 +126,13 @@
             if (ELEM_NAME_EQ (childElem, "beat-type"))
               denominator = getXMLIntChild(childElem);
           }
-if(numerator && denominator)
-  for(i=0;i<numvoices;i++)
-  if(measurenum==1)
-    g_string_append_printf(scripts[i+1], "(d-InitialTimeSig \"%d/%d\")", numerator, denominator);
-  else
-    g_string_append_printf(scripts[i+1], "(d-InsertTimeSig \"%d/%d\")(if (not (Appending?))(d-MoveCursorRight))", numerator, denominator);
+  if(numerator && denominator)
+    for(i=0;i<numvoices;i++)
+      if(measurenum==1)
+	g_string_append_printf(scripts[i+1], "(d-InitialTimeSig \"%d/%d\")", numerator, denominator);
+      else
+	g_string_append_printf(scripts[i+1], "(d-InsertTimeSig \"%d/%d\")(if (not (Appending?))(d-MoveCursorRight))", numerator, denominator);
+ return 0;
 }
 
 const gchar *get_clef(gint line, gchar *sign)
@@ -176,7 +177,9 @@
       g_string_append_printf(scripts[i+1], "(d-InitialKey \"C major\")(d-IncrementKeysig %d)", fifths);
     else
       g_string_append_printf(scripts[i+1], "(d-InsertKey \"C major\")(d-IncrementKeysig %d)", fifths);
+ return 0;
 }
+
 static gint parse_clef(GString **scripts, gint division, gint *voice_timings, gint voicenum, gint numvoices, gint *staff_for_voice, gint divisions, gint measurenum, xmlNodePtr rootElem)
 {
   xmlNodePtr childElem;
@@ -211,6 +214,7 @@
         g_string_append_printf(scripts[i+1], "(d-InsertClef \"%s\")", clef);
    }
  }           
+ return 0;
 }
 
 static const gchar *alteration (gint alter) {
@@ -494,6 +498,7 @@
     if (ELEM_NAME_EQ (childElem, "ornaments"))
         parse_ornaments (notations, childElem);
   }
+  return 0;
 }
 
 
@@ -674,6 +679,7 @@
           }
           if( staff_for_voice[voicenum-1] == 0)
             staff_for_voice[voicenum-1] = staffnum;
+  return 0;
 }
 
 static gint parse_attributes(xmlNodePtr rootElem, GString **scripts, gint numvoices, gint *staff_for_voice, gint division, gint *voice_timings, gint *divisions, gint *current_voice, gint measurenum)
@@ -690,7 +696,7 @@
             if (ELEM_NAME_EQ (childElem, "divisions"))
               *divisions = getXMLIntChild(childElem);  
           }
-
+  return 0;
 }
 
 
@@ -726,6 +732,7 @@
   if(text)
   for(i=0;i<numvoices;i++)
       g_string_append(scripts[i+1], text);
+  return 0;
 }
 
 
@@ -760,6 +767,8 @@
                 }
             }
           }
+
+  return 0;
 }
 static gint parse_direction(xmlNodePtr rootElem, GString *script)
 {
@@ -769,6 +778,7 @@
             if (ELEM_NAME_EQ (childElem, "direction-type"))
              parse_direction_type (childElem, script);
           }
+  return 0;
 }
 
 static gint get_staff_for_voice_measure(xmlNodePtr rootElem, gint *staff_for_voice)
@@ -782,6 +792,7 @@
           get_staff_for_voice_note(childElem, staff_for_voice);
       }                
     }
+  return 0;
 }
 
 static gchar *parse_measure(xmlNodePtr rootElem, GString **scripts, gint *staff_for_voice, gint *divisions, gint *voice_timings, gint numvoices, gint measurenum)