diff options
author | Germán Poo-Caamaño <gpoo@gnome.org> | 2013-09-29 22:50:42 -0700 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2013-10-04 12:28:29 +0200 |
commit | a6b1fc1a2ca83b3e4c52bcaa95b99d0289354f4b (patch) | |
tree | ef60cad60642626721854ac4ac73caad6fb5da1f /glib | |
parent | bd49b3c0c6f2adccc5bda561edbaf9f00ed2917a (diff) |
glib-demo: Fix rectangle calculation for new annotations in demo
https://bugs.freedesktop.org/show_bug.cgi?id=69978
Diffstat (limited to 'glib')
-rw-r--r-- | glib/demo/annots.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/demo/annots.c b/glib/demo/annots.c index 3ff7f12c..389aa477 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); |