Hello all!
I’ve been working in GNOME3 “cleaning” tasks for some time and I’d like to share this mini-guide to make your library/application GNOME3 / GTK+3-compilant. The process is quite easy:
GNOME 3:
Don’t use deprecated libraries:
- Bonobo
- libgnome/ui: LibgnomeMustDie
- libgnomevfs (use Gio): GioPort
- libglade (use GtkBuilder) : GnomeGoals/RemoveLibGladeUseGtkBuilder
- libsexy: GnomeGoals/DropLibsexy
GTK+ 3:
- Only use ‘toplevel’ Glib / GTK+ headers: GnomeGoals/CleanupGTKIncludes
- Don’t use deprecated Glib / GTK+ symbols: GnomeGoals/RemoveDeprecatedSymbols/Glib and http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/GTK+
- Compile your module with -DGSEAL_ENABLE: http://live.gnome.org/GnomeGoals/UseGseal
When you finish, use GNOME_MAINTAINER_MODE_DEFINES macro ( included in gnome-common ) in your configure.ac files, so you will be notified when you use a new deprecated symbol.
Also, take a look to the awesome Frederic Peters graphs to track the status of your module: http://www.gnome.org/~fpeters/299.html