a11y: Remove useless check

This commit is contained in:
Benjamin Otte 2011-09-30 21:39:08 +02:00
parent e0625f1370
commit 4a43034761

View File

@ -92,10 +92,6 @@ gtk_window_accessible_initialize (AtkObject *obj,
GtkWidget *widget = GTK_WIDGET (data);
const gchar *name;
/* A GtkWindowAccessible can be created for a GtkHandleBox or a GtkWindow */
if (!GTK_IS_WINDOW (widget) && !GTK_IS_HANDLE_BOX (widget))
return;
ATK_OBJECT_CLASS (_gtk_window_accessible_parent_class)->initialize (obj, data);
g_signal_connect (data, "window-state-event", G_CALLBACK (window_state_event_cb), NULL);