Change gdouble to gint in order to get counting of pages right. Fix typo

2001-04-07  Lutz Mller  <urc8@rz.uni-karlsruhe.de>

        * 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.
This commit is contained in:
Lutz Mller 2001-04-07 20:02:19 +00:00 committed by Lutz Müller
parent 1c6bf3b878
commit 40610079a3
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2001-04-07 Lutz Müller <urc8@rz.uni-karlsruhe.de>
* 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 <urc8@rz.uni-karlsruhe.de>
* eog-image-view.[ch]:

View file

@ -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;

View file

@ -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 {