updated gimp/plug-ins/ifscompose.c gimp/plug-ins/libgck/gck/gcknotebook.c

updated
gimp/plug-ins/ifscompose.c
gimp/plug-ins/libgck/gck/gcknotebook.c
to match gtk wrt gdk_pixmap_unref->gdk_pixmap_destroy
	-- Darkwing
This commit is contained in:
Christoph Hoegl 1997-12-29 20:57:55 +00:00
parent 33c454a73e
commit bec0b7073c
2 changed files with 2 additions and 2 deletions

View File

@ -1557,7 +1557,7 @@ design_area_configure(GtkWidget *widget, GdkEventConfigure *event)
if (ifsDesign->pixmap)
{
gdk_pixmap_unref(ifsDesign->pixmap);
gdk_pixmap_destroy(ifsDesign->pixmap);
}
ifsDesign->pixmap = gdk_pixmap_new(widget->window,
widget->allocation.width,

View File

@ -423,7 +423,7 @@ void gck_notebook_destroy(GckNoteBook *notebook)
if (page->tab->image!=NULL)
gdk_image_destroy(page->tab->image);
if (page->tab->pixmap!=NULL)
gdk_pixmap_unref(page->tab->pixmap);
gdk_pixmap_destroy(page->tab->pixmap);
free(page->tab);
}
free(page);