[gtk+/gtk-style-context: 396/540] Fix prototype of gtk_css_style_provider_load_from_data
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 396/540] Fix prototype of gtk_css_style_provider_load_from_data
- Date: Fri, 3 Dec 2010 03:09:25 +0000 (UTC)
commit 22a95ce2f45a6aa8d2b3bf4f8ec1dedef21e0fc4
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 db756fb..6c1abb6 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]