[gtk+/gtk-style-context: 369/533] GtkCssProvider: Fix typo in gtk_css_provider_get_named()



commit 815d03062554278a1c79da1df58e113a1d8dcb80
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Nov 13 22:34:30 2010 +0100

    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.

 gtk/gtkcssprovider.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index bfda526..96d993b 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3254,7 +3254,6 @@ gtk_css_provider_get_named (const gchar *name,
 
       if (path)
         {
-          GtkCssProvider *provider;
           GError *error = NULL;
 
           provider = gtk_css_provider_new ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]