Re: GtkImage changes



On 29 Jun 2000, Federico Mena Quintero wrote:

> Havoc Pennington <hp@redhat.com> writes:
> 
> > This is GtkImage hacked to be a general-purpose image-display widget, 
> > i.e. it's no longer just for displaying GdkImage.
> [snip]
> 
> > typedef struct _GtkImagePixmapData  GtkImagePixmapData;
> > typedef struct _GtkImageImageData   GtkImageImageData;
> > typedef struct _GtkImagePixbufData  GtkImagePixbufData;
> > typedef struct _GtkImageStockData   GtkImageStockData;
> > typedef struct _GtkImageIconSetData GtkImageIconSetData;
> 
> Can we make the GtkImage structure opaque?  Otherwise some people who


no, that defeats derivation. there's a way to make fields private
that are intended to be private:

struct
{
  /*< public >*/
  gint public_int;
  /*< private >*/
  gint private_int;
};

> should hopefully be put in a mental institution and sent back through

i've heared those are nice places, you get food for free 'n stuff.


> 
>   Federico
> 

---
ciaoTJ






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