thestinger/termite — pull request #7 by vodik (2012-05-31 07:56:14+00:00)
Title: Enable transparency support for Gtk3

Okay, this patch is kinda nasty since it adds `#ifdef` / `#else` / `#endif`, but currently transparency is broken for the Gtk3 build. Errors:

``
termite.c: In function ‘main’:
termite.c:235:5: error: unknown type name ‘GdkColormap’
termite.c:235:5: warning: implicit declaration of function ‘gdk_screen_get_rgba_colormap’ [-Wimplicit-function-declaration]
termite.c:235:29: warning: initialization makes pointer from integer without a cast [enabled by default]
termite.c:237:9: warning: implicit declaration of function ‘gtk_widget_set_colormap’ [-Wimplicit-function-declaration]
``

The GDK colormap stuff you're using is deprecated and was removed from Gtk3. According to the [Gtk3 docs](http://developer.gnome.org/gtk3/3.0/gtk-question-index.html), this is how its properly supposed to be done. However while this builds on Gtk2, it doesn't enable the transparency.