GocCanvas: use GtkWidget class methods for realize and unrealize.

That way we can control precisely what gets called first.