GNOME Bugzilla – Bug 560147
GtkBuilder docs should say what GErrors they throw
Last modified: 2010-04-06 20:31:42 UTC
The documentation for the gtk_builder_* functions should say what classes of GError they show. For instance, gtk_builder_add_from_file() throws both GtkBuilderError and GFileError but that is not mentioned: http://library.gnome.org/devel/gtk/unstable/GtkBuilder.html#gtk-builder-add-from-file I think they might throw GMarkupError GErrors too, but I'm not sure.
This is really very important.
Created attachment 158072 [details] [review] Add documentation about error domain This patch also catches a possible error when trying to deserialize an object that is not a pixbuf while calling gtk_builder_value_from_string_type().
(In reply to comment #2) > This patch also catches a possible error when trying to > deserialize an object that is not a pixbuf while calling > gtk_builder_value_from_string_type(). That should be a separate patch then, in a separate bug report.
Moving patch to correct gtk_builder_value_from_string_type() to bug 615000. Marked to depend on that as the documentation lies...
Created attachment 158076 [details] [review] Clean documentation only patch
Applied docs patch, closing.