<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Fix warning on deprecated Poppler::Annotation::window"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57807">57807</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Fix warning on deprecated Poppler::Annotation::window
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hib@hiberis.nl
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>qt4 frontend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=70930" name="attach_70930" title="0001-Fix-warning-on-deprecated-Poppler-Annotation-window.patch">attachment 70930</a> <a href="attachment.cgi?id=70930&action=edit" title="0001-Fix-warning-on-deprecated-Poppler-Annotation-window.patch">[details]</a></span>
0001-Fix-warning-on-deprecated-Poppler-Annotation-window.patch

The use of Poppler::Annotation::window is deprecated for
external use, but its use cannot be avoided internally
in the class constructor as long as it is not removed
completely. Thus, this patch disables deprecation when
compiling poppler-annotation.cc

Fixes warning:

  CXX    libpoppler_qt4_la-poppler-annotation.lo
poppler-annotation.cc: In constructor
'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&)':
poppler-annotation.cc:789:18: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
poppler-annotation.cc:791:5: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [-
Wdeprecated-declarations]
poppler-annotation.cc:791:20: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
poppler-annotation.cc: In constructor
'Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&, const
QDomNode&)':
poppler-annotation.cc:799:18: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]
poppler-annotation.cc:803:5: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [-
Wdeprecated-declarations]
poppler-annotation.cc:803:20: warning: 'Poppler::Annotation::window' is
deprecated (declared at poppler-annotation.h:248) [
-Wdeprecated-declarations]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>