A little patch again to prevent user to use gtk_widget_set_events()
 when a widget is already realized.
 In this case, the gtk_widget_set_events() doesn't work.