summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-10-17 17:41:03 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-17 17:41:03 +0200
commit4322b69528203d0f3c9e725af8d72597c101ef99 (patch)
tree52fd08cc8d6310774489d45c6c5afe2e9566f8ee /gtk/gtkcssprovider.h
parentdbeeaf7de681d3471b73f5722dd94451d66af642 (diff)
downloadgtk+-4322b69528203d0f3c9e725af8d72597c101ef99.tar.gz
cssprovider: Return void, not TRUE
Parsing a css file always succeeds as CSS can recover from parsing errors.
Diffstat (limited to 'gtk/gtkcssprovider.h')
-rw-r--r--gtk/gtkcssprovider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h
index 4ed011a7d6..a77c418290 100644
--- a/gtk/gtkcssprovider.h
+++ b/gtk/gtkcssprovider.h
@@ -95,14 +95,14 @@ GDK_AVAILABLE_IN_3_2
char * gtk_css_provider_to_string (GtkCssProvider *provider);
GDK_AVAILABLE_IN_ALL
-gboolean gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
+void gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
const gchar *data,
gssize length);
GDK_AVAILABLE_IN_ALL
-gboolean gtk_css_provider_load_from_file (GtkCssProvider *css_provider,
+void gtk_css_provider_load_from_file (GtkCssProvider *css_provider,
GFile *file);
GDK_AVAILABLE_IN_ALL
-gboolean gtk_css_provider_load_from_path (GtkCssProvider *css_provider,
+void gtk_css_provider_load_from_path (GtkCssProvider *css_provider,
const gchar *path);
GDK_AVAILABLE_IN_3_16