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.
svn path=/trunk/; revision=2656
+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):
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;