Creating objects without deriving from GObject

2004-07-13 Thread Ryan McDougall
Hello, I am writing a tutorial on using Glib type system, and developing some simple software as I go. I would like to create class that has no need for GObject (reference counting, properties, etc.), however it appears from the documentation that this makes it a fundamental type. How does

Re: Creating objects without deriving from GObject

2004-07-13 Thread Ryan McDougall
Thanks for the prompt reply Scott, I appreciate it! However there are still some broader questions. GObjectClass provides dispose and finalize methods; do I have to provide the same for my class? Are there no other interactions I need to know about if I'm not deriving from GObject? On Tue, 2004-13

Re: Creating objects without deriving from GObject

2004-07-13 Thread muppet
On Jul 13, 2004, at 10:00 PM, Ryan McDougall wrote: How does one Choose a GType number so it doesn't collide? http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type- Information.html#g-type-fundamental-next Where are the fundamental flags documented? i trust you've already seen http://dev

Re: Creating objects without deriving from GObject

2004-07-13 Thread Sven Neumann
Hi, Ryan McDougall <[EMAIL PROTECTED]> writes: > I am writing a tutorial on using Glib type system, and developing some > simple software as I go. I would like to create class that has no need > for GObject (reference counting, properties, etc.), however it appears > from the documentation