From 40610079a3d03da46464e552969d2d6121c0a001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lutz=20M=FCller?= Date: Sat, 7 Apr 2001 20:02:19 +0000 Subject: [PATCH] Change gdouble to gint in order to get counting of pages right. Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2001-04-07 Lutz Müller * eog-image-view.c: Change gdouble to gint in order to get counting of pages right. * eog-print-setup.c: Fix typo that resulted in the wrong image for print order. --- viewer/ChangeLog | 7 +++++++ viewer/eog-image-view.c | 4 ++-- viewer/eog-print-setup.c | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/viewer/ChangeLog b/viewer/ChangeLog index 87830be7..f0dc6adb 100644 --- a/viewer/ChangeLog +++ b/viewer/ChangeLog @@ -1,3 +1,10 @@ +2001-04-07 Lutz Müller + + * eog-image-view.c: Change gdouble to gint in order to get counting + of pages right. + * eog-print-setup.c: Fix typo that resulted in the wrong image for + print order. + 2001-04-07 Lutz Müller * eog-image-view.[ch]: diff --git a/viewer/eog-image-view.c b/viewer/eog-image-view.c index da81a8c2..20a5c6da 100644 --- a/viewer/eog-image-view.c +++ b/viewer/eog-image-view.c @@ -316,8 +316,8 @@ count_pages (gdouble paper_width, gdouble overlap_y, GdkPixbuf *pixbuf) { - gdouble adj_width, adj_height; - gdouble image_width, image_height; + gint adj_width, adj_height; + gint image_width, image_height; gdouble avail_width, avail_height; gint rows, cols; diff --git a/viewer/eog-print-setup.c b/viewer/eog-print-setup.c index eef3e1c3..56ce2c8c 100644 --- a/viewer/eog-print-setup.c +++ b/viewer/eog-print-setup.c @@ -118,7 +118,7 @@ on_down_right_toggled (GtkToggleButton *button, EogPrintSetup *ps) { ps->priv->down_right = button->active; - if (ps->priv->down_right) { + if (!ps->priv->down_right) { gtk_widget_show (ps->priv->image_right_down); gtk_widget_hide (ps->priv->image_down_right); } else {