Remove the result file on error. (#79929, David Highley)

Tue May 14 18:41:58 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
        Remove the result file on error. (#79929, David
        Highley)

        * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
        If the menu is currently active, cancel it before
        setting the new menu. (#79162, Jonathan Blandford.)
This commit is contained in:
Owen Taylor
2002-05-14 22:44:51 +00:00
committed by Owen Taylor
parent 390ad32837
commit b61156d4b7
8 changed files with 84 additions and 13 deletions

View File

@ -264,17 +264,23 @@ pixbuf_csource=GDK_PIXBUF_MODULEDIR=$(top_builddir)/gdk-pixbuf $(top_builddir)/g
endif
gtkstockpixbufs.h: $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource $(IMAGES)
$(pixbuf_csource) \
--raw --build-list $(VARIABLES1) >$(srcdir)/gtkstockpixbufs.h
$(pixbuf_csource) \
--raw --build-list $(VARIABLES2) >>$(srcdir)/gtkstockpixbufs.h
$(pixbuf_csource) \
--raw --build-list $(VARIABLES3) >>$(srcdir)/gtkstockpixbufs.h
$(pixbuf_csource) \
--raw --build-list $(VARIABLES4) >>$(srcdir)/gtkstockpixbufs.h
$(pixbuf_csource) \
--raw --build-list $(VARIABLES5) >>$(srcdir)/gtkstockpixbufs.h
$(pixbuf_csource) \
--raw --build-list $(VARIABLES6) >>$(srcdir)/gtkstockpixbufs.h
$(pixbuf_csource) \
--raw --build-list $(VARIABLES1) > $(srcdir)/gtkstockpixbufs.h || \
( rm -f $(srcdir)/gtkstockpixbufs.h && false )
$(pixbuf_csource) \
--raw --build-list $(VARIABLES2) >>$(srcdir)/gtkstockpixbufs.h || \
( rm -f $(srcdir)/gtkstockpixbufs.h && false )
$(pixbuf_csource) \
--raw --build-list $(VARIABLES3) >>$(srcdir)/gtkstockpixbufs.h || \
( rm -f $(srcdir)/gtkstockpixbufs.h && false )
$(pixbuf_csource) \
--raw --build-list $(VARIABLES4) >>$(srcdir)/gtkstockpixbufs.h || \
( rm -f $(srcdir)/gtkstockpixbufs.h && false )
$(pixbuf_csource) \
--raw --build-list $(VARIABLES5) >>$(srcdir)/gtkstockpixbufs.h || \
( rm -f $(srcdir)/gtkstockpixbufs.h && false )
$(pixbuf_csource) \
--raw --build-list $(VARIABLES6) >>$(srcdir)/gtkstockpixbufs.h || \
( rm -f $(srcdir)/gtkstockpixbufs.h && false )
EXTRA_DIST = $(IMAGES) gtkstockpixbufs.h