diff options
author | Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> | 2008-03-19 18:32:48 +0100 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-03-19 18:32:48 +0100 |
commit | 6a22f0a20df38156c06e8ba10649e0828a1da102 (patch) | |
tree | 48e54be8850aad77a2e3f68b5d79c9141ceef2cf | |
parent | 185d5818fd546f85934b041d5b0cdcdf1849b1dc (diff) |
[glib] Consider no action as an action of type None instead of Unknown
-rw-r--r-- | glib/poppler-action.cc | 2 | ||||
-rw-r--r-- | glib/poppler-action.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/glib/poppler-action.cc b/glib/poppler-action.cc index e91f8ac6..080eb279 100644 --- a/glib/poppler-action.cc +++ b/glib/poppler-action.cc @@ -390,7 +390,7 @@ _poppler_action_new (PopplerDocument *document, action->any.title = g_strdup (title); if (link == NULL) { - action->type = POPPLER_ACTION_UNKNOWN; + action->type = POPPLER_ACTION_NONE; return action; } diff --git a/glib/poppler-action.h b/glib/poppler-action.h index 87f216c1..a89351af 100644 --- a/glib/poppler-action.h +++ b/glib/poppler-action.h @@ -27,6 +27,7 @@ G_BEGIN_DECLS 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) */ |