[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Possible typo in item-grid code?
- From: Federico Mena Quintero <federico redhat com>
- To: njl98r ecs soton ac uk
- CC: gnumeric-list gnome org
- Subject: Re: Possible typo in item-grid code?
- Date: Wed, 1 Dec 1999 10:25:29 -0500
> I am looking at various parts of Gnumeric while trying to learn how
> GTK+ objects in GnomeCanvas work.
>
> In src/item-grid.c I read
>
> static GnomeCanvasItem *item_grid_parent_class;
>
> But now that I understand what it's for, this seems stupid. Shouldn't it
> be either:
>
> static GnomeCanvasItemClass *item_grid_parent_class;
> OR
> static GtkObjectClass *item_grid_parent_class;
Yes, thanks a lot for pointing this out. It should be a
GnomeCanvasItemClass *. I already committed a patch.
You may want to look at simpler or more general examples of canvas
items; Gnumeric can get away with many assumptions. In particular I
declare GnomeCanvasPixbuf in the gdk-pixbuf module to be Done Right(tm) :-)
Federico
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]