Developing GObject-based classes using Emacs

If you do code GObject derivated classes using Emacs and is tired of so much typing, find and replace just to declare some classes, you must like my new set of Elisp functions: gobject-class.el

There are 3 helper functions

gobject-class-header class_name parent_class_name
Inserts in the current buffer the stuff you usually put into header (.h) files. These include common used/recommended C-pre-processor macros, typedefs, structs and G_BEGIN_DECLS and G_END_DECLS
gobject-class-code class_name parent_class_name
Inserts in the current buffer the stuff you usually put into code implementation (.c) files. These include G_DEFINE_TYPE, _class_init(), _init(), _dispose(), _finalize().
gobject-class-generate class_name parent_class_name
This is a combo of the previous, that already split the screen, create the files with gtk/glib name schema. This is what I use most.
You can bind them to some key, like gobject-class-generate to F7 using (global-set-key [f7] 'gobject-class-generate), or just call them using M-x gobject-class-generate

Please notice that both class_name and parent_class_name expects a string with underscores ("_") separating the namespace and other components. Examples: g_object, gtk_tree_view, ...

Maybe you're interested in my .emacs.