GNOME Bugzilla – Bug 564659
Port anjuta to use Gtk+ print instead of deprecated gnomeprint
Last modified: 2009-01-20 22:27:16 UTC
See http://live.gnome.org/GtkPrintPort Anjuta is one of the last modules using deprecated libgnomeprint. $:andre\> grep -r gnomeprint . ./plugins/editor/print.c:#include <libgnomeprint/gnome-print.h> ./plugins/editor/print.c:#include <libgnomeprint/gnome-print-job.h> ./plugins/editor/print.c:#include <libgnomeprintui/gnome-print-dialog.h> ./plugins/editor/print.c:#include <libgnomeprintui/gnome-print-job-preview.h> ./configure.in:PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED libgnomeui-2.0 >= $GNOME_REQUIRED gnome-vfs-2.0 >= $GNOME_REQUIRED libgnomecanvas-2.0 >= $GNOME_REQUIRED gnome-vfs-module-2.0 >= $GNOME_REQUIRED libgnomeprint-2.2 >= $GNOME_REQUIRED libgnomeprintui-2.2 >= $GNOME_REQUIRED)
It's a optional dependency for the scintilla editor. You can build anjuta without libgnomeprint.
I'm working on this. The GtkPrint API looks fine so it should be ready in 1 or 2 weeks.
I have removed the use of gnomeprint. I have almost rewritten the complete file but I haven't get any major troubles. The print output could probably be improved but at least the main function is here. It's committed in svn trunk. Thanks for your bug report.
Awesome! http://live.gnome.org/GtkPrintPort updated.