[poppler] glib/demo
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Mar 19 13:52:25 PDT 2008
glib/demo/annots.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 22cd70d8fc308fb8b19d36d0172014ba532230fb
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Mar 19 21:52:14 2008 +0100
poppler_annot_markup_get_opacity returns a double so use %f
diff --git a/glib/demo/annots.c b/glib/demo/annots.c
index c866227..8d95903 100644
--- a/glib/demo/annots.c
+++ b/glib/demo/annots.c
@@ -227,7 +227,7 @@ pgd_annot_view_set_annot (GtkWidget *annot_view,
pgd_table_add_property (GTK_TABLE (table), "<b>Popup is open:</b>",
poppler_annot_markup_get_popup_is_open (markup) ? "Yes" : "No", &row);
- text = g_strdup_printf ("%d", poppler_annot_markup_get_opacity (markup));
+ text = g_strdup_printf ("%f", poppler_annot_markup_get_opacity (markup));
pgd_table_add_property (GTK_TABLE (table), "<b>Opacity:</b>", text, &row);
text = poppler_annot_markup_get_subject (markup);
More information about the poppler
mailing list