]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/framework-gnome.scm
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / scm / framework-gnome.scm
index 7243ccebbcf9c678cd2ff039fbc766e4af9b55ca..9e8cf4510d955dcd123aca45a1fd85927ab79072 100644 (file)
 (define location-callback spawn-editor)
 
 (define (get-location grob)
-  (and-let* ((p? (procedure? point-and-click))
+  (and-let* ((p (procedure? point-and-click))
             (g grob)
             (cause (ly:grob-property grob 'cause))
-            (music-origin (if (ly:music? cause)
-                              (ly:music-property cause 'origin)
-                              ;; How come #<unspecied> [and '()]
+            (music-origin (if (ly:event? cause)
+                              (ly:event-property cause 'origin)
+                              ;; How come #<unspecified> [and '()]
                               ;; are #t? :-(
                               #f)))
            (if (ly:input-location? music-origin)