NewMapWin has become Dialog instead of Window. Therefore it is created dynamically, when there is need for it, instead of keeping one instance in memory. This solution is slower, but more correct than before.
1 AM_CPPFLAGS = -I$(top_srcdir)
2 LDADD = $(top_builddir)/lemon/libemon.la
5 noinst_DATA = guipixbufs.h
6 CLEANFILES = $(noinst_DATA)
8 IMAGES = addlink.png addnode.png delete.png \
9 editlink.png editnode.png move.png newmap.png
12 gui_icons_addlink $(srcdir)/addlink.png \
13 gui_icons_addnode $(srcdir)/addnode.png \
14 gui_icons_delete $(srcdir)/delete.png \
15 gui_icons_editlink $(srcdir)/editlink.png \
16 gui_icons_editnode $(srcdir)/editnode.png \
17 gui_icons_move $(srcdir)/move.png \
18 gui_icons_newmap $(srcdir)/newmap.png
21 guipixbufs.h: $(IMAGES)
23 --raw --build-list $(VARIABLES) > guipixbufs.h || \
24 ( rm -f guipixbufs.h && false )
26 EXTRA_DIST = $(IMAGES) guipixbufs.h