Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-window.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 116d5b2..82ffb0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
+ * shell/ev-window.c: (ev_window_print_dialog_response_cb):
+
+ Use GTK_UNIT_POINTS instead of GTK_UNIT_PIXEL, since it's not
+ supported by gtk+. Fixes bug #460907.
+
+2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org>
+
* shell/ev-view.c: (view_update_range_and_current_page):
Make sure current-page <= end-page in continuous mode. Fixes bug
diff --git a/shell/ev-window.c b/shell/ev-window.c
index af2fb2a..19fd583 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2407,9 +2407,9 @@ ev_window_print_dialog_response_cb (GtkDialog *dialog,
scale = gtk_print_settings_get_scale (window->priv->print_settings) * 0.01;
width = gtk_page_setup_get_paper_width (window->priv->print_page_setup,
- GTK_UNIT_PIXEL);
+ GTK_UNIT_POINTS);
height = gtk_page_setup_get_paper_height (window->priv->print_page_setup,
- GTK_UNIT_PIXEL);
+ GTK_UNIT_POINTS);
if (scale != 1.0) {
width *= scale;