pkgsrc/graphics/denemo/patches/patch-aa

22 lines
735 B
Text

$NetBSD: patch-aa,v 1.3 2007/03/30 16:22:52 joerg Exp $
--- src/staffpropdialog.c.orig 2007-03-30 15:57:04.000000000 +0000
+++ src/staffpropdialog.c
@@ -189,7 +189,7 @@ struct callbackdata
* @return denemocontext of the string
*/
static DenemoContext
-setcontext (const gchar * string)
+my_setcontext (const gchar * string)
{
if (!strcmp ("PianoContext", string))
return DENEMO_PIANO;
@@ -238,7 +238,7 @@ set_properties (struct callbackdata *cbd
if ((n = atoi (gtk_entry_get_text (GTK_ENTRY (cbdata->volume)))))
staffstruct->volume = n;
staffstruct->context =
- setcontext (gtk_entry_get_text (GTK_ENTRY (cbdata->contexts)));
+ my_setcontext (gtk_entry_get_text (GTK_ENTRY (cbdata->contexts)));
}