The following hunk demonstrates the break in API and ABI with upstream:

> diff -Nur -x '*.orig' -x '*~' nbtk-1.1.9/nbtk/nbtk-stylable.h
> nbtk-1.1.9.new/nbtk/nbtk-stylable.h
> --- nbtk-1.1.9/nbtk/nbtk-stylable.h     2009-10-17 00:06:41.000000000
> +0800
> +++ nbtk-1.1.9.new/nbtk/nbtk-stylable.h 2009-10-23 13:57:07.023137139
> +0800
> @@ -58,7 +58,7 @@
>    const gchar  *(*get_style_id)     (NbtkStylable *stylable);
>    const gchar  *(*get_style_type)   (NbtkStylable *stylable);
>    const gchar  *(*get_style_class)  (NbtkStylable *stylable);
> -  const gchar  *(*get_pseudo_class) (NbtkStylable *stylable);
> +  const gchar  **(*get_pseudo_classes) (NbtkStylable *stylable);
>    gchar        *(*get_attribute)    (NbtkStylable *stylable,
>                                       const gchar  *name);
>    gboolean      (*get_viewport)     (NbtkStylable *stylable, 

This is a break in the API because the (*get_pseudo_class) member has
been removed.

This is a break in the ABI because the function pointer at the struct
offset no longer returns the same type and has a different behaviour.



---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Reply via email to