Re: Gnome2 0.90 and GnomeUIInfo

Torsten Schoenfeld wrote:

On Tue, 2003-12-23 at 17:13, Sylvain Daubert wrote:

As far as I can tell, all versions of Gnome(1|2) don't recognize that
field.  Which version did it work with for you?
Gnome2-Perl 0.32 (yes, it's an old-old version)

Looking at the source of 0.32, I don't see how one would be able to use
user_data with it.  Do you have some example code that uses user_data
and used to work?  (Pun not intended.)

I don't know the Gnome stuff, but I think it's not Gnome specific... 
AFAIRC the user_data binding was restricted to elementary data types 
(integers, strings) some time ago, because adding support for complex 
Perl types was difficult. Instead all Perl objects turned into hashes, 
which are "magically" bound to the correspondent C objects internally. 
This way you can add arbitrary user data the Perl way: just add your 
values to the hashes.



LINUX - Linux Is Not gnU linuX

Attachment: pgp7248Euv7Dw.pgp
Description: PGP signature

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