reverted dumb changes
gdk_pixmap_destroy is dead in favour of gdk_pixmap_unref -- Darkwing
This commit is contained in:
@ -1557,7 +1557,7 @@ design_area_configure(GtkWidget *widget, GdkEventConfigure *event)
|
|||||||
|
|
||||||
if (ifsDesign->pixmap)
|
if (ifsDesign->pixmap)
|
||||||
{
|
{
|
||||||
gdk_pixmap_destroy(ifsDesign->pixmap);
|
gdk_pixmap_unref(ifsDesign->pixmap);
|
||||||
}
|
}
|
||||||
ifsDesign->pixmap = gdk_pixmap_new(widget->window,
|
ifsDesign->pixmap = gdk_pixmap_new(widget->window,
|
||||||
widget->allocation.width,
|
widget->allocation.width,
|
||||||
|
@ -423,7 +423,7 @@ void gck_notebook_destroy(GckNoteBook *notebook)
|
|||||||
if (page->tab->image!=NULL)
|
if (page->tab->image!=NULL)
|
||||||
gdk_image_destroy(page->tab->image);
|
gdk_image_destroy(page->tab->image);
|
||||||
if (page->tab->pixmap!=NULL)
|
if (page->tab->pixmap!=NULL)
|
||||||
gdk_pixmap_destroy(page->tab->pixmap);
|
gdk_pixmap_unref(page->tab->pixmap);
|
||||||
free(page->tab);
|
free(page->tab);
|
||||||
}
|
}
|
||||||
free(page);
|
free(page);
|
||||||
|
Reference in New Issue
Block a user