[poppler] poppler_annot_callout_line_get_type() registers wrong functions

Iñigo Martínez inigomartinez at gmail.com
Sun Mar 23 05:23:33 PDT 2008


Fixed,

Thank you!

El dom, 23-03-2008 a las 16:17 +0900, Kouhei Sutou escribió:
> Hi,
> 
> poppler_annot_callout_line_get_type() registers
> poppler_rectangle_{copy,free}() as {copy,free} function not
> poppler_annot_callout_line_{copy,free}().
> 
> 
> diff --git a/glib/poppler-annot.cc b/glib/poppler-annot.cc
> index 3dc5c22..7424045 100644
> --- a/glib/poppler-annot.cc
> +++ b/glib/poppler-annot.cc
> @@ -721,8 +721,8 @@ poppler_annot_callout_line_get_type (void)
>  
>    if (our_type == 0)
>      our_type = g_boxed_type_register_static ("PopplerAnnotCalloutLine",
> -                                             (GBoxedCopyFunc) poppler_rectangle_copy,
> -                                             (GBoxedFreeFunc) poppler_rectangle_free);
> +                                             (GBoxedCopyFunc) poppler_annot_callout_line_copy,
> +                                             (GBoxedFreeFunc) poppler_annot_callout_line_free);
>  
>    return our_type;
>  }
> 
> Thanks,
> --
> kou
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080323/dd478752/attachment.pgp 


More information about the poppler mailing list