--- glib/poppler-action.h 2008-01-21 20:59:14.000000000 +0100 +++ glib/poppler-action.h-new 2008-03-12 11:00:12.000000000 +0100 @@ -28,6 +28,7 @@ typedef enum { POPPLER_ACTION_UNKNOWN, /* unknown action */ + POPPLER_ACTION_NONE, /* no action specified */ POPPLER_ACTION_GOTO_DEST, /* go to destination */ POPPLER_ACTION_GOTO_REMOTE, /* go to destination in new file */ POPPLER_ACTION_LAUNCH, /* launch app (or open document) */ @@ -39,6 +40,7 @@ typedef enum { POPPLER_DEST_UNKNOWN, + POPPLER_DEST_NONE, POPPLER_DEST_XYZ, POPPLER_DEST_FIT, POPPLER_DEST_FITH, --- glib/poppler-action.cc 2008-03-11 18:27:21.000000000 +0100 +++ glib/poppler-action.cc-new 2008-03-12 11:11:38.000000000 +0100 @@ -391,7 +391,7 @@ action->any.title = g_strdup (title); if (link == NULL) { - action->type = POPPLER_ACTION_UNKNOWN; + action->type = POPPLER_ACTION_NONE; printf ("null\n"); return action; }