Don't try to catch SIGKILL
[tilda-gobject.git] / tilda-window.c
index 87849d8..afb32c5 100644 (file)
@@ -677,6 +677,10 @@ tilda_window_dispose (GObject *obj)
        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);
 }