Bug 13549 - the documentation for poppler_document_new_from_data is not complete
Summary: the documentation for poppler_document_new_from_data is not complete
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-06 08:44 UTC by mehmet yasar
Modified: 2018-08-21 11:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description mehmet yasar 2007-12-06 08:44:26 UTC
The documentation should precise that :
- poppler_document_new_from_data doesn't make a copy of the data
- the data must not be freed !
Comment 1 Yury G. Kudryashov 2013-08-07 09:44:58 UTC
As far as I can see, poppler_document_new_from_data calls g_object_new internally, so you should call g_object_unref(). I don't think that this should be explicitly documented.
Comment 2 Torsten Schönfeld 2016-06-10 10:40:51 UTC
I know this bug report is very old, but the original complaint seems valid to me and is still not resolved.  I think in comment 1, Yury misunderstood the report.  The issue is the missing documentation and introspection annotations for the data argument of poppler_document_new_from_data, not for the returned object.
Comment 3 GitLab Migration User 2018-08-21 11:10:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/550.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.