RE: API compatibility question



On Thu, 2003-12-18 at 15:47, Murray Cumming Comneon com wrote:
> [snip]
> > i'd 
> > like to make gnome_icon_lookup, that takes a GnomeIconTheme 
> > take a GtkIconTheme instead. To secure ABI backwards 
> > compatibility the new gnome_icon_lookup looks at 
> > GNOME_IS_ICON_THEME (icon_theme), and automatically gets the 
> > wrapped GtkIconTheme if you pass in a GnomeIconTheme.
> 
> Personally, I'd prefer a new function in this case. But we have done similar
> sneaky things in GTK+ which cause minor API breaks without causing ABI
> breaks.

Jody noticed that GnomeIconTheme and GtkIconTheme had the same content,
so some typedef action fixed the warning.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an old-fashioned misogynist paramedic looking for 'the Big One.' She's a 
supernatural gypsy hooker who believes she is the reincarnation of an ancient 
Egyptian queen. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]