GNOME Bugzilla – Bug 334663
Allow to set a parent class to new GObject class
Last modified: 2009-08-15 18:40:50 UTC
Hello, Anjuta2 file-wizard plugin have the great feature which allow developper to easily create new GObject class. Thank you :) When creating a new GObject Class, user can set parent only for C++. Not with C Class where file-wizard force the use of GObject as parent class. For example This is not possible to use a GtkWidget as parent. I suggest also to use systematically typedef struct _Foo Foo; struct _Foo { ... }; in order to have clean code generated. I suggest also to use a wizard to choose wether the new class is in C or C++ instead of tab. Anjuta2 rocks ! Thanks.
This may be replace by a "New GtkWidget class" wizard different from GObject class wizard.
After a short discussion Massimo Cora' made a patch: It implements the possibility to change the parent Class of a C class and generates clean code with typedefs. A Wizard was rejected in this discussion because it would be overkill and our opinion is that the notebook is better for the job!
Closing all fixed bugs. Sorry for the mass update :( ...