[poppler] poppler/glib: poppler-action.cc,1.3,1.4
Marco Pesenti Gritti
marco at freedesktop.org
Mon Sep 26 12:29:47 PDT 2005
Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv7179/glib
Modified Files:
poppler-action.cc
Log Message:
2005-09-26 Marco Pesenti Gritti <mpg at redhat.com>
* glib/poppler-action.cc:
Initialize window title even if the action is unknown
Index: poppler-action.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-action.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- poppler-action.cc 26 Sep 2005 10:42:38 -0000 1.3
+++ poppler-action.cc 26 Sep 2005 19:29:45 -0000 1.4
@@ -253,6 +253,9 @@
action = g_new0 (PopplerAction, 1);
+ if (title)
+ action->any.title = g_strdup (title);
+
if (link == NULL) {
action->type = POPPLER_ACTION_UNKNOWN;
return action;
@@ -289,7 +292,5 @@
break;
}
- if (title)
- action->any.title = g_strdup (title);
return action;
}
More information about the poppler
mailing list