Index: glib/poppler-action.cc =================================================================== RCS file: /cvs/poppler/poppler/glib/poppler-action.cc,v retrieving revision 1.7 diff -u -p -r1.7 poppler-action.cc --- glib/poppler-action.cc 16 Apr 2006 22:59:44 -0000 1.7 +++ glib/poppler-action.cc 13 May 2006 16:50:50 -0000 @@ -21,6 +21,19 @@ #include "poppler.h" #include "poppler-private.h" +GType +poppler_dest_get_type (void) +{ + static GType our_type = 0; + + if (our_type == 0) + our_type = g_boxed_type_register_static ("PopplerDest", + (GBoxedCopyFunc) poppler_dest_copy, + (GBoxedFreeFunc) poppler_dest_free); + + return our_type; +} + /** * poppler_dest_copy: * @dest: a #PopplerDest Index: glib/poppler-action.h =================================================================== RCS file: /cvs/poppler/poppler/glib/poppler-action.h,v retrieving revision 1.5 diff -u -p -r1.5 poppler-action.h --- glib/poppler-action.h 16 Apr 2006 22:59:44 -0000 1.5 +++ glib/poppler-action.h 13 May 2006 16:50:50 -0000 @@ -150,6 +150,10 @@ GType poppler_action_get_type ( void poppler_action_free (PopplerAction *action); PopplerAction *poppler_action_copy (PopplerAction *action); + +#define POPPLER_TYPE_DEST (poppler_dest_get_type ()) +GType poppler_dest_get_type (void) G_GNUC_CONST; + void poppler_dest_free (PopplerDest *dest); PopplerDest *poppler_dest_copy (PopplerDest *dest);