Commit 97caad1f authored by Matthias Clasen's avatar Matthias Clasen

Don't clear data on a NULL screen

This makes GtkSettings survive the object finalize test.
parent 3ca0a39f
......@@ -2717,7 +2717,7 @@ settings_update_provider (GdkScreen *screen,
GtkCssProvider **old,
GtkCssProvider *new)
{
if (*old != new)
if (screen != NULL && *old != new)
{
if (*old)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment