summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2007-02-27 22:22:40 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:34 +0000
commit4d8384e7b116e3eb11cc3df9151c8554dbca95fc (patch)
treef049f1240de8a8a971a621a4a3891d5eab2839a1 /debian/patches
parent92f35807f68b30405639d4e0a95f748b6bdb793f (diff)
parent129ed4b29e21fdb8bda3bee89c3e5d8cca6ba749 (diff)
Imported Debian patch 0.993-1debian/0.993-1
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/00list4
-rw-r--r--debian/patches/10_broken_links.dpatch20
-rw-r--r--debian/patches/11_contect_typo.dpatch283
-rw-r--r--debian/patches/12_pbar_fixes.dpatch282
4 files changed, 0 insertions, 589 deletions
diff --git a/debian/patches/00list b/debian/patches/00list
index 32beb13..349899e 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1,6 +1,2 @@
02_docviewer
03_gimp_acquire_menu
-10_broken_links
-11_contect_typo
-12_pbar_fixes
-
diff --git a/debian/patches/10_broken_links.dpatch b/debian/patches/10_broken_links.dpatch
deleted file mode 100644
index 4d700b0..0000000
--- a/debian/patches/10_broken_links.dpatch
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 10_broken_links.dpatch by <jblache@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix broken links in HTML documentation.
-
-@DPATCH@
-diff -urNad xsane-0.99+0.991~/doc/sane-xsane-doc.html xsane-0.99+0.991/doc/sane-xsane-doc.html
---- xsane-0.99+0.991~/doc/sane-xsane-doc.html 2005-12-31 16:33:16.000000000 +0100
-+++ xsane-0.99+0.991/doc/sane-xsane-doc.html 2007-03-18 10:56:14.832828848 +0100
-@@ -161,8 +161,7 @@
- <li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
- <li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
- <li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
--<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
--<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
-+<li><a href="sane-xsane-setup-email-doc.html">Mail setup</a></li>
- <li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
- </ul>
- </blockquote>
diff --git a/debian/patches/11_contect_typo.dpatch b/debian/patches/11_contect_typo.dpatch
deleted file mode 100644
index 8bb7fbf..0000000
--- a/debian/patches/11_contect_typo.dpatch
+++ /dev/null
@@ -1,283 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 11_contect_typo.dpatch by <jblache@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix "contect" typo in xsane-text.h; original patch by Martin Pitt <martin.pitt@ubuntu.com>
-
-@DPATCH@
-diff -urNad xsane-0.99+0.991~/po/cs.po xsane-0.99+0.991/po/cs.po
---- xsane-0.99+0.991~/po/cs.po 2006-01-10 19:21:11.000000000 +0100
-+++ xsane-0.99+0.991/po/cs.po 2007-04-27 21:44:31.905588023 +0200
-@@ -2098,7 +2098,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Předvolená oblast:\n"
-diff -urNad xsane-0.99+0.991~/po/da.po xsane-0.99+0.991/po/da.po
---- xsane-0.99+0.991~/po/da.po 2006-01-10 19:21:11.000000000 +0100
-+++ xsane-0.99+0.991/po/da.po 2007-04-27 21:44:31.913588772 +0200
-@@ -2105,7 +2105,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Forvalgt område:\n"
-diff -urNad xsane-0.99+0.991~/po/de.po xsane-0.99+0.991/po/de.po
---- xsane-0.99+0.991~/po/de.po 2006-01-10 19:21:12.000000000 +0100
-+++ xsane-0.99+0.991/po/de.po 2007-04-27 21:44:31.922589615 +0200
-@@ -2122,7 +2122,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Bereichsvoreinstellung:\n"
-diff -urNad xsane-0.99+0.991~/po/es.po xsane-0.99+0.991/po/es.po
---- xsane-0.99+0.991~/po/es.po 2006-01-10 19:21:12.000000000 +0100
-+++ xsane-0.99+0.991/po/es.po 2007-04-27 21:44:31.929590271 +0200
-@@ -2165,7 +2165,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Área de preset:\n"
-diff -urNad xsane-0.99+0.991~/po/fr.po xsane-0.99+0.991/po/fr.po
---- xsane-0.99+0.991~/po/fr.po 2006-01-10 19:21:12.000000000 +0100
-+++ xsane-0.99+0.991/po/fr.po 2007-04-27 21:44:31.938591114 +0200
-@@ -2153,7 +2153,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Aire de présélection: \n"
-diff -urNad xsane-0.99+0.991~/po/hu.po xsane-0.99+0.991/po/hu.po
---- xsane-0.99+0.991~/po/hu.po 2006-01-10 19:21:12.000000000 +0100
-+++ xsane-0.99+0.991/po/hu.po 2007-04-27 21:44:31.945591769 +0200
-@@ -2092,7 +2092,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Előre beállított terület:\n"
-diff -urNad xsane-0.99+0.991~/po/it.po xsane-0.99+0.991/po/it.po
---- xsane-0.99+0.991~/po/it.po 2006-01-10 19:21:12.000000000 +0100
-+++ xsane-0.99+0.991/po/it.po 2007-04-27 21:44:31.954592612 +0200
-@@ -2139,7 +2139,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Area preselezionata:\n"
-diff -urNad xsane-0.99+0.991~/po/ja.po xsane-0.99+0.991/po/ja.po
---- xsane-0.99+0.991~/po/ja.po 2006-01-10 19:21:13.000000000 +0100
-+++ xsane-0.99+0.991/po/ja.po 2007-04-27 21:44:31.962593361 +0200
-@@ -2108,7 +2108,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "プリセット領域:\n"
-diff -urNad xsane-0.99+0.991~/po/nl.po xsane-0.99+0.991/po/nl.po
---- xsane-0.99+0.991~/po/nl.po 2006-01-10 19:21:13.000000000 +0100
-+++ xsane-0.99+0.991/po/nl.po 2007-04-27 21:44:31.969594017 +0200
-@@ -2108,7 +2108,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Scangebied:\n"
-diff -urNad xsane-0.99+0.991~/po/pl.po xsane-0.99+0.991/po/pl.po
---- xsane-0.99+0.991~/po/pl.po 2006-01-10 19:21:13.000000000 +0100
-+++ xsane-0.99+0.991/po/pl.po 2007-04-27 21:44:31.977594766 +0200
-@@ -2125,7 +2125,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Obszar ustawiony:\n"
-diff -urNad xsane-0.99+0.991~/po/pt.po xsane-0.99+0.991/po/pt.po
---- xsane-0.99+0.991~/po/pt.po 2006-01-10 19:21:13.000000000 +0100
-+++ xsane-0.99+0.991/po/pt.po 2007-04-27 21:44:31.985595515 +0200
-@@ -2148,7 +2148,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Área pré-configurada:\n"
-diff -urNad xsane-0.99+0.991~/po/pt_BR.po xsane-0.99+0.991/po/pt_BR.po
---- xsane-0.99+0.991~/po/pt_BR.po 2006-01-10 19:21:13.000000000 +0100
-+++ xsane-0.99+0.991/po/pt_BR.po 2007-04-27 21:44:31.994596358 +0200
-@@ -2148,7 +2148,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Área pré-configurada:\n"
-diff -urNad xsane-0.99+0.991~/po/ro.po xsane-0.99+0.991/po/ro.po
---- xsane-0.99+0.991~/po/ro.po 2006-01-10 19:21:14.000000000 +0100
-+++ xsane-0.99+0.991/po/ro.po 2007-04-27 21:44:32.002597107 +0200
-@@ -2154,7 +2154,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Zona predefinită:\n"
-diff -urNad xsane-0.99+0.991~/po/ru.po xsane-0.99+0.991/po/ru.po
---- xsane-0.99+0.991~/po/ru.po 2006-01-10 19:21:14.000000000 +0100
-+++ xsane-0.99+0.991/po/ru.po 2007-04-27 21:44:32.010597856 +0200
-@@ -2123,7 +2123,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Область предварительных настроек:\n"
-diff -urNad xsane-0.99+0.991~/po/sk.po xsane-0.99+0.991/po/sk.po
---- xsane-0.99+0.991~/po/sk.po 2006-01-10 19:21:14.000000000 +0100
-+++ xsane-0.99+0.991/po/sk.po 2007-04-27 21:44:32.018598606 +0200
-@@ -2149,7 +2149,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Predvolená oblasť:\n"
-diff -urNad xsane-0.99+0.991~/po/sl.po xsane-0.99+0.991/po/sl.po
---- xsane-0.99+0.991~/po/sl.po 2006-01-10 19:21:14.000000000 +0100
-+++ xsane-0.99+0.991/po/sl.po 2007-04-27 21:44:32.026599355 +0200
-@@ -2097,7 +2097,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Prednastavljeno območje:\n"
-diff -urNad xsane-0.99+0.991~/po/sr.po xsane-0.99+0.991/po/sr.po
---- xsane-0.99+0.991~/po/sr.po 2006-01-10 19:21:14.000000000 +0100
-+++ xsane-0.99+0.991/po/sr.po 2007-04-27 21:44:32.034600104 +0200
-@@ -2131,7 +2131,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
-
-diff -urNad xsane-0.99+0.991~/po/sv.po xsane-0.99+0.991/po/sv.po
---- xsane-0.99+0.991~/po/sv.po 2006-01-10 19:21:15.000000000 +0100
-+++ xsane-0.99+0.991/po/sv.po 2007-04-27 21:44:32.042600853 +0200
-@@ -2142,7 +2142,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
-
-diff -urNad xsane-0.99+0.991~/po/tr.po xsane-0.99+0.991/po/tr.po
---- xsane-0.99+0.991~/po/tr.po 2006-01-10 19:21:15.000000000 +0100
-+++ xsane-0.99+0.991/po/tr.po 2007-04-27 21:44:32.050601603 +0200
-@@ -2112,7 +2112,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Öntanımlı alan: \n"
-diff -urNad xsane-0.99+0.991~/po/vi.po xsane-0.99+0.991/po/vi.po
---- xsane-0.99+0.991~/po/vi.po 2006-01-10 19:21:15.000000000 +0100
-+++ xsane-0.99+0.991/po/vi.po 2007-04-27 21:44:32.058602352 +0200
-@@ -2150,7 +2150,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
- "Vùng định trước:\n"
-diff -urNad xsane-0.99+0.991~/po/xsane.pot xsane-0.99+0.991/po/xsane.pot
---- xsane-0.99+0.991~/po/xsane.pot 2006-01-07 00:26:28.000000000 +0100
-+++ xsane-0.99+0.991/po/xsane.pot 2007-04-27 21:42:48.949947015 +0200
-@@ -2026,7 +2026,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
-
-diff -urNad xsane-0.99+0.991~/po/zh.po xsane-0.99+0.991/po/zh.po
---- xsane-0.99+0.991~/po/zh.po 2006-01-10 19:21:15.000000000 +0100
-+++ xsane-0.99+0.991/po/zh.po 2007-04-27 21:44:32.066603101 +0200
-@@ -2082,7 +2082,7 @@
- #. DESC_PRESET_AREA
- msgid ""
- "Preset area:\n"
--"To add new area or edit an existing area use contect menu (right mouse "
-+"To add new area or edit an existing area use context menu (right mouse "
- "button)."
- msgstr ""
-
-diff -urNad xsane-0.99+0.991~/src/xsane-text.h xsane-0.99+0.991/src/xsane-text.h
---- xsane-0.99+0.991~/src/xsane-text.h 2007-04-27 21:42:09.576259970 +0200
-+++ xsane-0.99+0.991/src/xsane-text.h 2007-04-27 21:42:48.950947108 +0200
-@@ -625,7 +625,7 @@
- #define DESC_DELETE_IMAGES _("Delete preview image cache")
-
- #define DESC_PRESET_AREA _("Preset area:\n" \
-- "To add new area or edit an existing area use contect menu (right mouse button).")
-+ "To add new area or edit an existing area use context menu (right mouse button).")
- #define DESC_ROTATION _("Rotate preview and scan")
- #define DESC_RATIO _("Aspect ratio of selection")
- #define DESC_PAPER_ORIENTATION _("Define image position for printing")
diff --git a/debian/patches/12_pbar_fixes.dpatch b/debian/patches/12_pbar_fixes.dpatch
deleted file mode 100644
index 5149b27..0000000
--- a/debian/patches/12_pbar_fixes.dpatch
+++ /dev/null
@@ -1,282 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 12_pbar_fixes.dpatch by <jblache@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Reduce the number of updates/redraws on the progress bars by rounding
-## DP: the progress value. Patch by Joris van Rooij <jrrzz@il.fontys.nl>.
-
-@DPATCH@
-diff -urNad xsane-0.99+0.991~/src/xsane-save.c xsane-0.99+0.991/src/xsane-save.c
---- xsane-0.99+0.991~/src/xsane-save.c 2006-01-10 18:46:32.000000000 +0100
-+++ xsane-0.99+0.991/src/xsane-save.c 2007-08-24 11:18:28.915600727 +0200
-@@ -694,7 +694,7 @@
- bytes_sum += bytes;
- }
-
-- gtk_progress_bar_update(progress_bar, (float) bytes_sum / size); /* update progress bar */
-+ gtk_progress_bar_update(progress_bar, round((float) bytes_sum / size * 100) / 100); /* update progress bar */
-
- while (gtk_events_pending())
- {
-@@ -849,7 +849,7 @@
- }
-
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height); /* update progress bar */
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100); /* update progress bar */
- while (gtk_events_pending()) /* give gtk the chance to display the changes */
- {
- gtk_main_iteration();
-@@ -951,7 +951,7 @@
- {
- DBG(DBG_info2, "xsane_save_scaled_image: original line %d, new line %d\n", (int) y, y_new);
-
-- gtk_progress_bar_update(progress_bar, (float) y / original_image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / original_image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1135,7 +1135,7 @@
-
- for (y = 0; y < new_image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1225,7 +1225,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
-
- while (gtk_events_pending())
- {
-@@ -1418,7 +1418,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1627,7 +1627,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1769,7 +1769,7 @@
-
- for (y = 0; y < pixel_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / pixel_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / pixel_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1826,7 +1826,7 @@
-
- for (x=0; x<pixel_width; x++)
- {
-- gtk_progress_bar_update(progress_bar, (float) x / pixel_width);
-+ gtk_progress_bar_update(progress_bar, round((float) x / pixel_width * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1880,7 +1880,7 @@
-
- for (y = pixel_height-1; y >= 0; y--)
- {
-- gtk_progress_bar_update(progress_bar, (float) (pixel_height - y) / pixel_height);
-+ gtk_progress_bar_update(progress_bar, round((float) (pixel_height - y) / pixel_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1939,7 +1939,7 @@
-
- for (x = pixel_width-1; x >= 0; x--)
- {
-- gtk_progress_bar_update(progress_bar, (float) (pixel_width - x) / pixel_width);
-+ gtk_progress_bar_update(progress_bar, round((float) (pixel_width - x) / pixel_width * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -1992,7 +1992,7 @@
-
- for (y = 0; y < pixel_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / pixel_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / pixel_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -2051,7 +2051,7 @@
-
- for (x = 0; x < pixel_width; x++)
- {
-- gtk_progress_bar_update(progress_bar, (float) x / pixel_width);
-+ gtk_progress_bar_update(progress_bar, round((float) x / pixel_width * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -2105,7 +2105,7 @@
-
- for (y = pixel_height-1; y >= 0; y--)
- {
-- gtk_progress_bar_update(progress_bar, (float) (pixel_height - y) / pixel_height);
-+ gtk_progress_bar_update(progress_bar, round((float) (pixel_height - y) / pixel_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -2164,7 +2164,7 @@
-
- for (x = pixel_width-1; x >= 0; x--)
- {
-- gtk_progress_bar_update(progress_bar, (float) (pixel_width - x) / pixel_width);
-+ gtk_progress_bar_update(progress_bar, round((float) (pixel_width - x) / pixel_width * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -2767,7 +2767,8 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
-+
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -2896,7 +2897,7 @@
- break;
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -2940,7 +2941,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -3562,7 +3563,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -3754,7 +3755,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -3899,7 +3900,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -4013,7 +4014,7 @@
-
- for (y = 0; y < image_info->image_height; y++)
- {
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -4083,7 +4084,7 @@
-
- count = 0;
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -4143,7 +4144,7 @@
-
- count = 0;
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -4178,7 +4179,7 @@
- fputc(val & 255, outfile); /* LSB */
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -4235,7 +4236,7 @@
- fputc(val & 255, outfile); /* LSB */
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info->image_height);
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info->image_height * 100) / 100);
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -5199,7 +5200,7 @@
- tile_offset = 0;
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info.image_height * 100) / 100); /* update progress bar */
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -5236,7 +5237,7 @@
- tile_offset = 0;
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info.image_height * 100) / 100); /* update progress bar */
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -5280,7 +5281,7 @@
- tile_offset = 0;
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info.image_height * 100) / 100); /* update progress bar */
- while (gtk_events_pending())
- {
- gtk_main_iteration();
-@@ -5328,7 +5329,7 @@
- tile_offset = 0;
- }
-
-- gtk_progress_bar_update(progress_bar, (float) y / image_info.image_height); /* update progress bar */
-+ gtk_progress_bar_update(progress_bar, round((float) y / image_info.image_height * 100) / 100); /* update progress bar */
- while (gtk_events_pending())
- {
- gtk_main_iteration();