Previously, the global keybinding was not released during TildaWindow's
dispose phase. This made it possible to enter the callback without a
valid TildaWindow. Eek.
g_ptr_array_foreach (self->terms, my_unref, NULL);
gtk_widget_destroy (self->window);
+ /* Unbind if we were set */
+ if (self->key)
+ tomboy_keybinder_unbind (self->key, tilda_window_keybinding_cb);
+
/* Chain up to the parent class */
G_OBJECT_CLASS (parent_class)->dispose (obj);
}