After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 343928 - gtk print context API changes
gtk print context API changes
Status: RESOLVED FIXED
Product: pygtk
Classification: Bindings
Component: gtk
Git Master
Other Linux
: Normal normal
: ---
Assigned To: John Finlay
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-05 16:04 UTC by Frederic Peters
Modified: 2006-06-09 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (590 bytes, patch)
2006-06-05 16:05 UTC, Frederic Peters
none Details | Review

Description Frederic Peters 2006-06-05 16:04:04 UTC
gtk_print_context_create_layout has been renamed to
gtk_print_context_create_pango_layout.
Comment 1 Frederic Peters 2006-06-05 16:05:04 UTC
Created attachment 66783 [details] [review]
Fix
Comment 2 Gustavo Carneiro 2006-06-05 16:42:28 UTC
I had already fixed this a few days ago:

2006-06-01  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gtk/gtk-2.10.defs: gtk_print_context_create_context renamed to
	gtk_print_context_create_pango_context;
	gtk_print_context_create_layout renamed to
	gtk_print_context_create_pango_layout;
	gtk_print_context_get_fontmap renamed to
	gtk_print_context_get_pango_fontmap; gtk_print_context_get_cairo
	renamed to gtk_print_context_get_cairo_context.

It seems finlay reverted my changes?..

http://cvs.gnome.org/viewcvs/gnome-python/pygtk/gtk/gtk-2.10.defs?r1=1.6&r2=1.7
Comment 3 John Finlay 2006-06-05 18:11:09 UTC
Yeah my mistake. I don't run GTK+ from cvs and couldn't build after Gustavo's change. Forgot to reverse patch before checking in my changes. Hope 2.9.2 is available soon. :-). Will fix today.
Comment 4 John Finlay 2006-06-05 18:47:36 UTC
Fixed:

/cvs/gnome/gnome-python/pygtk/gtk/gtk-2.10.defs,v  <--  gtk-2.10.defs
new revision: 1.14; previous revision: 1.13
Comment 5 jwarnier 2006-06-09 13:15:11 UTC
*** Bug 344395 has been marked as a duplicate of this bug. ***