- if (G_IS_OBJECT (window)) {
- g_warning ("This should not happen the window was not completely destroyed");
- g_signal_handler_unblock (window, *handler_id);
- }
- g_hash_table_remove (priv->destroy_handlers, window);
+ if (G_IS_OBJECT (window))
+ g_signal_handler_unblock (window, handler_id);