[poppler] glib/demo

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Wed Dec 2 08:00:24 PST 2015


 glib/demo/transitions.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72f0ea4f883417a920be65cb778989bf81e8f57d
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Wed Dec 2 16:59:16 2015 +0100

    glib-demo: Use duration_real in transitions demo

diff --git a/glib/demo/transitions.c b/glib/demo/transitions.c
index b646dd6..66553ab 100644
--- a/glib/demo/transitions.c
+++ b/glib/demo/transitions.c
@@ -153,7 +153,7 @@ pgd_transitions_fill_model (PgdTransitionsDemo *demo)
 			gchar      *scale;
 
 			npage = g_strdup_printf ("%d", i + 1);
-			duration = g_strdup_printf ("%d", transition->duration);
+			duration = g_strdup_printf ("%.2f", transition->duration_real);
 			angle = g_strdup_printf ("%d", transition->angle);
 			scale = g_strdup_printf ("%.2f", transition->scale);
 			


More information about the poppler mailing list