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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux