summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilderprivate.h
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2007-06-30 18:27:39 +0000
committerJohan Dahlin <johan@src.gnome.org>2007-06-30 18:27:39 +0000
commitaaab9c05a517439d646d3456f81b7d076ca7fd85 (patch)
tree36cdd127db2bd251bdbcf3b45bb2abda1c410b77 /gtk/gtkbuilderprivate.h
parentd793d416da88a1923bb14bdbf0eea7c7bad7ac5a (diff)
downloadgtk+-aaab9c05a517439d646d3456f81b7d076ca7fd85.tar.gz
Improve error handling for enum/flags, rename the converter functions to
2007-06-30 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbuilder.c: * gtk/gtkbuilder.h: * gtk/gtkbuilderparser.c: * gtk/gtkbuilderprivate.h: * gtk/gtkwidget.c: * tests/buildertest.c: Improve error handling for enum/flags, rename the converter functions to be consistent. Add tests. Fixes #452465 svn path=/trunk/; revision=18312
Diffstat (limited to 'gtk/gtkbuilderprivate.h')
-rw-r--r--gtk/gtkbuilderprivate.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk/gtkbuilderprivate.h b/gtk/gtkbuilderprivate.h
index 11d8974a77..70c9f7941f 100644
--- a/gtk/gtkbuilderprivate.h
+++ b/gtk/gtkbuilderprivate.h
@@ -107,8 +107,12 @@ void _gtk_builder_add (GtkBuilder *builder,
void _gtk_builder_finish (GtkBuilder *builder);
void _free_signal_info (SignalInfo *info,
gpointer user_data);
-gboolean _gtk_builder_parse_boolean (const gchar *string,
- gboolean *value,
- GError **error);
+gboolean _gtk_builder_boolean_from_string (const gchar *string,
+ gboolean *value,
+ GError **error);
+gboolean _gtk_builder_flags_from_string (GType type,
+ const char *string,
+ gint *value,
+ GError **error);
#endif /* __GTK_BUILDER_PRIVATE_H__ */