diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-request-about.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/ephy-request-about.c b/embed/ephy-request-about.c index 331442729..0256c8da3 100644 --- a/embed/ephy-request-about.c +++ b/embed/ephy-request-about.c @@ -72,9 +72,12 @@ static void read_css_style (EphyRequestAbout *about) { GError *error = NULL; + const gchar *file = ephy_file ("about.css"); - if (!g_file_get_contents (ephy_file ("about.css"), &about->priv->css_style, NULL, &error)) + if (file && !g_file_get_contents (file, &about->priv->css_style, NULL, &error)) { g_debug ("%s", error->message); + g_error_free (error); + } } static GInputStream * |