Re: make error while compiling libgnomeprintui

Abhishek Samuel <[email protected]> Tue, 3 May 2005 11:47:51 +0530
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
hey

good news i solved the problem. By default the
gnome-print-config-dialog.c file was including some files from
libgnomeprint whereas it should have been
libgnomeprint-2.2/libgnomeprint.

It compiled well and installed too.

Okay i have another problem.

When i include this line in my code i get the following warnings and errors
gtk_widget_show(gnome_print_job_preview_new(job,"The Preview");

 GLib-GObject-WARNING **: specified class size for type
`GnomePrintPreview' is smaller than the parent type's
`GnomePrintContext' class size
=20
(imageprocessing3:7540): GLib-GObject-CRITICAL **: g_object_new:
assertion `G_TYPE_IS_OBJECT (object_type)' failed
=20
(imageprocessing3:7540): GnomePrint-CRITICAL **:
gnome_print_job_render_page: assertion `ctx !=3D NULL' failed
=20
(imageprocessing3:7540): GnomePrint-CRITICAL **:
gnome_print_job_render_page: assertion `ctx !=3D NULL' failed

Any ideas

Thank You
Abhishek Samuel



On 5/3/05, Jean Br=E9fort <[email protected]> wrote:
> Le mardi 03 mai 2005 =E0 10:45 +0530, Abhishek Samuel a =E9crit :
> > hey,
> >
> > When i typed make. I saw -I/usr/include/libgnomeprint-2.2 in the gcc
> > command line.
> > Any other ideas??
>=20
> None, sorry.
>=20
>