Re: Problem when expanding struct _SheetObject



You mean it complains at run time (where "it" is glib in this case).

This has the look of what would happen if you had more than one copy
of the library around.  libspreadsheet in this case, so half the code sees
one version of GnmCellCombo and the other half see the other.

The warning is saving you some severe hair pulling.

Solution?  Some combination of "make clean", "make install", and manually
checking for multiple versions.

Morten Welinder









On Tue, Apr 15, 2014 at 12:21 AM, Eduardo Silva <edsiper gmail com> wrote:
hi,

i am adding some tweaks on gnumeric 1.12 specifically on struct _SheetObject
but on compile time looks like validations are failing with the following
message:

GLib-GObject-WARNING **: specified instance size for type 'GnmCellCombo' is
smaller than the parent type's 'SheetObject' instance size

GnmCellCombo is defined as follows:

 typedef struct {
SheetObject parent;

SheetView       *sv;
 } GnmCellCombo;

why is complaining about instance size ?, any hints are appreciated,

regards,

--
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com

_______________________________________________
gnumeric-list mailing list
gnumeric-list gnome org
https://mail.gnome.org/mailman/listinfo/gnumeric-list



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