This patch fixes a bug where gtk_widget_event is called with a NULL argument, thus producing a warning. This is easiest to reproduce in gtkfilesel by going to the root dir and holding the TAB button down in an empty input field.