Fixed error for passing a parameter that wasn't a GTKWindow