Re: I'd like (working) printing sample code



On Mon, 2008-03-31 at 07:34 -0700, Garth's KidStuff wrote:
> Hi,
> 
> Thanks in advance.  The sample code at:
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-printing-example.html
> 
> doesn't work for me.  I get the on_begin_print callback as expected, but
> never receive the on_draw_page callback.  Instead I get an endless series of
> error/warning messages as follows:
> 
> (Opus:7115): GLib-GObject-CRITICAL **: g_value_type_compatible: assertion
> `G_TYPE_IS_VALUE (src_type)' failed
> 
> (Opus:7115): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.14.1/gobject/gsignal.c:2180:
> invalid object type `g-key-file-error-quark' for value type
> `GtkPrintContext'
> 
> repeat ad infinitum

It works for me.

What versions of GTK+ and gtkmm do you have? What version of what distro
is this? There have been some bugfixes.

> I'm writing a gtkmm app in C++ and have had great luck with the other
> examples in the tutorials I refer to above.

I'm CCing the gtkmm list.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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