[gtk+] Fix docs for gtk_css_provider_load_from_resource



commit f73db86a639be50afa456f6e98dfb7156eb73774
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 22 00:06:53 2014 -0400

    Fix docs for gtk_css_provider_load_from_resource

 gtk/gtkcssprovider.c |    1 -
 gtk/gtkcssprovider.h |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 24d804a..a807ad8 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -2887,7 +2887,6 @@ gtk_css_provider_load_from_path (GtkCssProvider  *css_provider,
  * gtk_css_provider_load_from_resource:
  * @css_provider: a #GtkCssProvider
  * @resource_path: a #GResource resource path
- * @error: return location for an error
  *
  * Loads the data contained in the resource at @resource_path into
  * the #GtkCssProvider, clearing any previously loaded information.
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h
index 8181731..b243b45 100644
--- a/gtk/gtkcssprovider.h
+++ b/gtk/gtkcssprovider.h
@@ -104,7 +104,7 @@ gboolean         gtk_css_provider_load_from_path (GtkCssProvider  *css_provider,
                                                   GError         **error);
 
 GDK_AVAILABLE_IN_3_16
-void             gtk_css_provider_load_from_resource (GtkCssProvider *provider,
+void             gtk_css_provider_load_from_resource (GtkCssProvider *css_provider,
                                                       const gchar    *resource_path);
 
 GDK_AVAILABLE_IN_ALL


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