glib/demo/annots.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a6b1fc1a2ca83b3e4c52bcaa95b99d0289354f4b Author: Germán Poo-Caamaño <[email protected]> Date: Sun Sep 29 22:50:42 2013 -0700 glib-demo: Fix rectangle calculation for new annotations in demo https://bugs.freedesktop.org/show_bug.cgi?id=69978 diff --git a/glib/demo/annots.c b/glib/demo/annots.c index 3ff7f12..389aa47 100644 --- a/glib/demo/annots.c +++ b/glib/demo/annots.c @@ -821,8 +821,8 @@ pgd_annots_add_annot (GtkWidget *button, rect.x1 = gtk_spin_button_get_value (GTK_SPIN_BUTTON (rect_x1)); rect.x2 = gtk_spin_button_get_value (GTK_SPIN_BUTTON (rect_x2)); - rect.y1 = height - gtk_spin_button_get_value (GTK_SPIN_BUTTON (rect_y2)); - rect.y2 = height - gtk_spin_button_get_value (GTK_SPIN_BUTTON (rect_y1)); + rect.y1 = height - gtk_spin_button_get_value (GTK_SPIN_BUTTON (rect_y1)); + rect.y2 = height - gtk_spin_button_get_value (GTK_SPIN_BUTTON (rect_y2)); annot = poppler_annot_text_new (demo->doc, &rect); poppler_page_add_annot (page, annot);
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
