GeditWindow doesn't yet have "application" property set when gedit_window_activatable_activate is invoked
For a WindowActivatable plugin being activated with gedit_window_activatable_activate function gtk_window_get_application returns NULL. The workaround is to wait for nofity::application signal.