Commit 46f5f070 authored by Kristian Høgsberg's avatar Kristian Høgsberg

2006-05-19 Kristian Høgsberg <krh@redhat.com>

	* glib/poppler-action.h:
	* glib/poppler-action.cc: Add poppler_dest_get_type(), patch from
	Kouhei Souto (#6907).
parent 875dc5b1
2006-05-19 Kristian Høgsberg <krh@redhat.com>
* glib/poppler-action.h:
* glib/poppler-action.cc: Add poppler_dest_get_type(), patch from
Kouhei Souto (#6907).
* poppler-glib.pc.in (Requires): Add gdk-2.0 dependency, from
Kouhei Souto (#6896).
......
......@@ -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
......
......@@ -150,6 +150,10 @@ GType poppler_action_get_type (void) G_GNUC_CONST;
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment