GtkCssProvider: Fix typo in gtk_css_provider_get_named()

provider was being redefined in the inner block, so the loaded
provider didn't get to be returned.
This commit is contained in:
Carlos Garnacho 2010-11-13 22:34:30 +01:00
parent a185954d7c
commit 8243c3c025

View File

@ -3254,7 +3254,6 @@ gtk_css_provider_get_named (const gchar *name,
if (path)
{
GtkCssProvider *provider;
GError *error = NULL;
provider = gtk_css_provider_new ();