Commit 5f13b650 authored by Matthias Clasen's avatar Matthias Clasen Committed by Carlos Garnacho

Fix prototype of gtk_css_style_provider_load_from_data

GError arguments must be **.
parent 72f9a794
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment