[poppler] glib/poppler-page.cc glib/poppler-page.h

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Wed Dec 2 07:51:13 PST 2015


 glib/poppler-page.cc |    1 +
 glib/poppler-page.h  |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit b5c7b93cabc0d95fb3a7dc1b8104363cd04873c1
Author: Arseniy Lartsev <arseniy at alumni.chalmers.se>
Date:   Wed Dec 2 16:48:05 2015 +0100

    glib: Add duration_real to PopplerPageTransition
    
    https://bugs.freedesktop.org/show_bug.cgi?id=92040

diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc
index 1025393..3d63bfd 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -249,6 +249,7 @@ poppler_page_get_transition (PopplerPage *page)
 	  POPPLER_PAGE_TRANSITION_OUTWARD;
 
   transition->duration = trans->getDuration();
+  transition->duration_real = trans->getDuration();
   transition->angle = trans->getAngle();
   transition->scale = trans->getScale();
   transition->rectangular = trans->isRectangular();
diff --git a/glib/poppler-page.h b/glib/poppler-page.h
index 63fe362..fdbfd38 100644
--- a/glib/poppler-page.h
+++ b/glib/poppler-page.h
@@ -299,6 +299,7 @@ struct _PopplerPageTransition
   gint angle;
   gdouble scale;
   gboolean rectangular;
+  gdouble duration_real;
 };
 
 GType                  poppler_page_transition_get_type (void) G_GNUC_CONST;


More information about the poppler mailing list