Commit d18e9838 authored by Marek Kašík's avatar Marek Kašík Committed by Marek Kašík

Bug 559914 – eog doesn't apply paper setup.

2008-12-03  Marek Kasik  <mkasik@redhat.com>

	Bug 559914 – eog doesn't apply paper setup.

	* gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
	and height in points.

svn path=/trunk/; revision=21841
parent a67611bc
2008-12-03 Marek Kasik <mkasik@redhat.com>
Bug 559914 – eog doesn't apply paper setup.
* gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
and height in points.
2008-12-02 Carlos Garcia Campos <carlosgc@gnome.org>
Bug 562878 – password save incorrectly set in gtkmountoperation
......
......@@ -852,8 +852,10 @@ gtk_paper_size_new_from_key_file (GKeyFile *key_file,
display_name = g_strdup (name);
if (ppd_name != NULL)
paper_size = gtk_paper_size_new_from_ppd (ppd_name, display_name,
width, height);
paper_size = gtk_paper_size_new_from_ppd (ppd_name,
display_name,
_gtk_print_convert_from_mm (width, GTK_UNIT_POINTS),
_gtk_print_convert_from_mm (height, GTK_UNIT_POINTS));
else if (name != NULL)
paper_size = gtk_paper_size_new_custom (name, display_name,
width, height, GTK_UNIT_MM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment