[poppler] poppler_annot_callout_line_get_type() registers wrong functions

Kouhei Sutou kou at cozmixng.org
Sun Mar 23 00:17:12 PDT 2008


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


More information about the poppler mailing list