This commit fixes binary compatibility, which I broke with my recent cell
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.
This commit is contained in:
committed by
Kristian Rietveld
parent
f5e0470f6f
commit
74295aeddf
@ -69,10 +69,7 @@ struct _GtkCellRenderer
|
||||
guint visible : 1;
|
||||
guint is_expander : 1;
|
||||
guint is_expanded : 1;
|
||||
|
||||
guint cell_background_set : 1;
|
||||
|
||||
GdkColor cell_background;
|
||||
};
|
||||
|
||||
struct _GtkCellRendererClass
|
||||
|
||||
Reference in New Issue
Block a user