[gtk+/gtk-style-context: 369/540] GtkCssProvider: Fix typo in gtk_css_provider_get_named()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 369/540] GtkCssProvider: Fix typo in gtk_css_provider_get_named()
- Date: Fri, 3 Dec 2010 03:07:09 +0000 (UTC)
commit 1ed8fca7fabe4dc9c13d5ec19215e5473cb4df6c
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]