[poppler] poppler/glib: poppler-document.cc,1.8,1.9
Jonathan Blandford
jrb at freedesktop.org
Tue Apr 19 14:13:24 PDT 2005
Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv23001/glib
Modified Files:
poppler-document.cc
Log Message:
Tue Apr 19 17:11:52 2005 Jonathan Blandford <jrb at redhat.com>
* glib/poppler-document.cc (poppler_document_get_property): Use %g
instead of %f to avoid versioning like PDF-1.50000
Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-document.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- poppler-document.cc 16 Apr 2005 18:57:44 -0000 1.8
+++ poppler-document.cc 19 Apr 2005 21:13:22 -0000 1.9
@@ -293,7 +293,7 @@
info_dict_get_string (obj.getDict(), "Title", value);
break;
case PROP_FORMAT:
- str = g_strdup_printf ("PDF-%1f", document->doc->getPDFVersion ());
+ str = g_strdup_printf ("PDF-%1g", document->doc->getPDFVersion ());
g_value_take_string (value, str);
break;
case PROP_AUTHOR:
More information about the poppler
mailing list