Re: Direct access to object's private variables

2007-07-28 Thread Emmanuele Bassi
On Sat, 2007-07-28 at 23:32 +0200, Tomasz Jankowski wrote: > Hello! > > I have an object based on GObject system. I added to this object it's > private structure using 'g_type_class_add_private ()'. Now need to access to > this private data very often, so it isn't good idea to use macro > SOME_OBJ

Direct access to object's private variables

2007-07-28 Thread Tomasz Jankowski
Hello! I have an object based on GObject system. I added to this object it's private structure using 'g_type_class_add_private ()'. Now need to access to this private data very often, so it isn't good idea to use macro SOME_OBJECT_GET_PRIVATE all the time. It's waste of CPU time in my situation. I

Re: Compiling simple GTK+ input methods

2007-07-28 Thread Kyle James Cardoza
Thank you very much, that worked perfectly. Unfortunately, the same cannot be said for the input method itself. It compiles, it just doesn't work, which is perplexing me. I've got the table sorted (I think) properly, it just doesn't /do/ much of anything when active. I'll attach the current source

Re: Compiling simple GTK+ input methods

2007-07-28 Thread Yeti
On Sat, Jul 28, 2007 at 04:21:54AM -0400, Kyle James Cardoza wrote: > Now, I've tried. My google-fu has failed me. Googling is pointless, if you have the Gtk+ Makefile that compiles the input methods... > What I've got is a single .c file, containing a GTK+ input method for > Eastern Ojibwe, usin

Compiling simple GTK+ input methods

2007-07-28 Thread Kyle James Cardoza
Now, I've tried. My google-fu has failed me. What I've got is a single .c file, containing a GTK+ input method for Eastern Ojibwe, using Canadian Aboriginal Syllabics. I based it on the GTK+ Inuktitut IM. What I want is to compile that .c file into a GTK+ input method, so I can test it, debug it,