• Kristian Rietveld's avatar
    This commit fixes binary compatibility, which I broke with my recent cell · 74295aed
    Kristian Rietveld authored
    Fri Apr 26 21:46:42 2002  Kristian Rietveld  <kris@gtk.org>
    
            This commit fixes binary compatibility, which I broke with my
            recent cell renderer commits :/.
    
            * gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer
    
            * gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the
            cell_background field and use this as object data. This way we keep
            the field private and dont break ABI.
    
            * gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and
            stock_detail from _GtkCellRendererPixbuf
    
            * gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo
            with above mentioned fields. And update everything.
    74295aed
gtkcellrenderer.c 18.6 KB