/[packages]/updates/1/libgnomeprint/current/SOURCES/libgnomeprint-2.18.8-fix-orientation-for-print.patch
ViewVC logotype

Contents of /updates/1/libgnomeprint/current/SOURCES/libgnomeprint-2.18.8-fix-orientation-for-print.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 219577 - (show annotations) (download)
Tue Mar 6 04:37:27 2012 UTC (9 years, 5 months ago) by fwang
File size: 569 byte(s)
add reporter's patches to fix landscape printouts (bug#4779)

1 --- ./libgnomeprint/gnome-print-job.c.orig 2012-02-23 00:15:37.000000000 +0600
2 +++ ./libgnomeprint/gnome-print-job.c 2012-02-23 00:19:29.000000000 +0600
3 @@ -398,7 +398,7 @@
4 }
5
6 gnome_print_job_update_layout_data (job);
7 - if (job->priv->LY_LIST && (g_list_length (job->priv->LY_LIST) > 1) &&
8 + if (job->priv->LY_LIST && (g_list_length (job->priv->LY_LIST) >= 1) &&
9 !((g_list_length (job->priv->LY_LIST) == 1) &&
10 (((gdouble *) g_list_nth_data (job->priv->LY_LIST, 0)) [0] == 1.) &&
11 (((gdouble *) g_list_nth_data (job->priv->LY_LIST, 0)) [1] == 0.) &&

  ViewVC Help
Powered by ViewVC 1.1.28