gtk/fix-demo.scm: Simplify finding the sample conses.png image.
authorMatt Birkholz <puck@birchwood-abbey.net>
Mon, 28 Mar 2016 21:04:26 +0000 (14:04 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Tue, 29 Mar 2016 23:50:48 +0000 (16:50 -0700)
src/gtk/fix-demo.scm

index 766bc01169ca7b905ccd6d445cb9864d03c2f964..622b919a322d31216606c6e7b634592acf271b9b 100644 (file)
@@ -112,12 +112,7 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
          (text (make-simple-text-ink))
          (box (make-rectangle-ink))
          (image (make-image-ink-from-file
-                 (merge-pathnames "conses.png"
-                                  (or
-                                   ;; After normal install.
-                                   (system-library-directory-pathname "gtk")
-                                   ;; During testing.
-                                   (system-library-directory-pathname "")))))
+                 (system-library-pathname "conses.png")))
          (surface (make-surface-ink 40 40)))
 
       (set-line-ink! line1 140 150 200 150)