[poppler]
poppler/glib: poppler-action.cc, 1.8, 1.9 poppler-action.h, 1.5, 1.6
Kristian Høgsberg
krh at kemper.freedesktop.org
Fri May 19 15:26:05 PDT 2006
Update of /cvs/poppler/poppler/glib
In directory kemper:/tmp/cvs-serv29900/glib
Modified Files:
poppler-action.cc poppler-action.h
Log Message:
2006-05-19 Kristian Høgsberg <krh at redhat.com>
* glib/poppler-action.h:
* glib/poppler-action.cc: Add poppler_dest_get_type(), patch from
Kouhei Souto (#6907).
Index: poppler-action.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-action.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- poppler-action.cc 19 May 2006 19:21:59 -0000 1.8
+++ poppler-action.cc 19 May 2006 22:26:03 -0000 1.9
@@ -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: poppler-action.h
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-action.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- poppler-action.h 16 Apr 2006 22:59:44 -0000 1.5
+++ poppler-action.h 19 May 2006 22:26:03 -0000 1.6
@@ -150,6 +150,10 @@
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);
More information about the poppler
mailing list