Re: Request for an update of GTK+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrea wrote:
> Hi,
> 
> I've been tracking an issue that prevents from printing certain paper sizes in GIMP.
> It ended up being a bug in GTK+, fixed last December.
> 
> I've filed a bug on Fedora
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=480245
> 
> It would be nice to have an updated version of GTK+ for Fedora 9 and 10.
> 
> Thanks
> 
> Andrea
> 

Hi,

I've just received an update of gtk2 for Fedora 9
(exactly gtk2-2.12.12-2).

This still does not contain the patch for the wrong unit size in the print dialog used to select the
paper size.

Is it possible to have this patch added to gtk2. I need to recompile gtk2 every time it is updated.
I attach the patch if anybody is interested.

Andrea

--- gtk+-2.12.12/gtk/gtkpapersize.c.old	2009-01-21 20:50:06.000000000 +0000
+++ gtk+-2.12.12/gtk/gtkpapersize.c	2009-01-21 22:15:53.000000000 +0000
@@ -853,7 +853,8 @@
 
   if (ppd_name != NULL)
     paper_size = gtk_paper_size_new_from_ppd (ppd_name, display_name,
-			                      width, height);
+			                      _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);
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux