[gnome-love] How do I access GtkImage data with accessor function?



Hi!

I'm trying to replace direct access with accessor function in beagle  module. 
See this : http://live.gnome.org/GnomeGoals/UseGseal#preview

Back to the problem. I have to replace :
image->data.pixbuf.pixbuf and
image->data.name.pixbuf
where image is GtkImage.

I did some googling and know that data represents :
union
  {
    GtkImagePixmapData pixmap;
    GtkImageImageData image;
    GtkImagePixbufData pixbuf;
    GtkImageStockData stock;
    GtkImageIconSetData icon_set;
    GtkImageAnimationData anim;
    GtkImageIconNameData name;
    GtkImageGIconData gicon;
  } GSEAL (data);

So how do I access name and pixbuf member.

Thank you for any response.

Enikő Nagy


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