
shell_global_get_overrides_settings() may return %NULL in case of custom shell modes (i.e. not the default and classic ones); while this is not officially encouraged, we should still handle it rather than throw an error. https://bugzilla.gnome.org/show_bug.cgi?id=751921