Re: make error while compiling libgnomeprintui

Jean Bréfort <[email protected]> Tue, 03 May 2005 08:36:18 +0200
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
Le mardi 03 mai 2005 =C3=A0 11:47 +0530, Abhishek Samuel a =C3=A9crit :
>  GLib-GObject-WARNING **: specified class size for type
> `GnomePrintPreview' is smaller than the parent type's
> `GnomePrintContext' class size

You have a problem with the definition of GnomePrintPreview.

struct _GnomePrintPreview {
	GnomePrintContext pc;

	GnomePrintPreviewPrivate *priv;
};

So if GnomePrintPreview is smaller than GnomePrintContext, this means tha=
t your compiler did not use the correct definition for GnomePrintContext.
You might have several versions of the headers?

The other problems are most probably related to this one.