forked from AuroraMiddleware/gtk
a11y: Remove useless check
This commit is contained in:
parent
e0625f1370
commit
4a43034761
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user