[gtk+/gtk-style-context: 397/490] Fix prototype of gtk_css_style_provider_load_from_data



commit be8f53661ab1395239ac7962b93f5d4f9dd31678
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 17 20:24:18 2010 -0500

    Fix prototype of gtk_css_style_provider_load_from_data
    
    GError arguments must be **.

 gtk/gtkcssprovider.c |    8 ++++----
 gtk/gtkcssprovider.h |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 56c1dd1..7c4d67a 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -2896,10 +2896,10 @@ parse_stylesheet (GtkCssProvider *css_provider)
  * Returns: %TRUE if the data could be loaded.
  **/
 gboolean
-gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
-                                 const gchar    *data,
-                                 gssize          length,
-                                 GError         *error)
+gtk_css_provider_load_from_data (GtkCssProvider  *css_provider,
+                                 const gchar     *data,
+                                 gssize           length,
+                                 GError         **error)
 {
   GtkCssProviderPrivate *priv;
 
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h
index ebfc36d..be7d6bd 100644
--- a/gtk/gtkcssprovider.h
+++ b/gtk/gtkcssprovider.h
@@ -49,10 +49,10 @@ GType gtk_css_provider_get_type (void) G_GNUC_CONST;
 
 GtkCssProvider * gtk_css_provider_new (void);
 
-gboolean         gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
-                                                  const gchar    *data,
-                                                  gssize          length,
-                                                  GError         *error);
+gboolean         gtk_css_provider_load_from_data (GtkCssProvider  *css_provider,
+                                                  const gchar     *data,
+                                                  gssize           length,
+                                                  GError         **error);
 gboolean         gtk_css_provider_load_from_file (GtkCssProvider  *css_provider,
                                                   GFile           *file,
                                                   GError         **error);



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