diff options
author | Johan Dahlin <johan@gnome.org> | 2008-03-01 13:49:06 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-03-01 13:49:06 +0000 |
commit | a57b66aac2a2c174993dd70e833072937e8dba66 (patch) | |
tree | 791fa29692875100f1addce087d9b049bf491f86 /gtk/gtkbuilderprivate.h | |
parent | 9b440c1656116d315d43378e9ccb34dd5d760fd1 (diff) | |
download | gtk+-a57b66aac2a2c174993dd70e833072937e8dba66.tar.gz |
Do not use g_error for a few more errors, instead set the GError sent in
2008-02-29 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
Do not use g_error for a few more errors, instead set
the GError sent in through add_from_file/add_from_string.
* tests/buildertest.c:
Add a couple of new parsing tests.
(#519199, Pavel Syomin)
svn path=/trunk/; revision=19681
Diffstat (limited to 'gtk/gtkbuilderprivate.h')
-rw-r--r-- | gtk/gtkbuilderprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkbuilderprivate.h b/gtk/gtkbuilderprivate.h index e04911c65e..2cbb322bec 100644 --- a/gtk/gtkbuilderprivate.h +++ b/gtk/gtkbuilderprivate.h @@ -103,7 +103,8 @@ void _gtk_builder_parser_parse_buffer (GtkBuilder *builder, gsize length, GError **error); GObject * _gtk_builder_construct (GtkBuilder *builder, - ObjectInfo *info); + ObjectInfo *info, + GError **error); void _gtk_builder_add (GtkBuilder *builder, ChildInfo *child_info); void _gtk_builder_add_signals (GtkBuilder *builder, |