diff options
author | Benjamin Otte <otte@redhat.com> | 2011-06-17 07:39:11 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-08-26 16:26:28 +0200 |
commit | 26e9d0771848e6a7ff510dd1819788781968edaa (patch) | |
tree | 7216ac794ed263e7ba71ee32e809c4d4ec2f9f67 /gtk/gtkcssprovider.h | |
parent | 8d6b560ff366394374dc0a96005cac14efe8d5ac (diff) | |
download | gtk+-26e9d0771848e6a7ff510dd1819788781968edaa.tar.gz |
API: cssprovider: Change parsing-error signal
Instead of path, line and position, emit the section the error happened
in. This has a lot more information to consume.
Diffstat (limited to 'gtk/gtkcssprovider.h')
-rw-r--r-- | gtk/gtkcssprovider.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h index a9c7fdf41b..e1d0cfa84a 100644 --- a/gtk/gtkcssprovider.h +++ b/gtk/gtkcssprovider.h @@ -21,6 +21,7 @@ #define __GTK_CSS_PROVIDER_H__ #include <gio/gio.h> +#include <gtk/gtkcsssection.h> G_BEGIN_DECLS @@ -60,9 +61,7 @@ struct _GtkCssProviderClass GObjectClass parent_class; void (* parsing_error) (GtkCssProvider *provider, - const gchar *path, - guint line, - guint position, + GtkCssSection *section, const GError * error); /* Padding for future expansion */ |