mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
builder: Expot _gtk_builder_boolean_from_string privately
When specifying accessible properties in ui files, it is better to accept the same syntax for booleans as elsewhere, so lets reuse this function.
This commit is contained in:
parent
313ba0280a
commit
e050a2661c
@ -1997,7 +1997,7 @@ gtk_builder_value_from_string (GtkBuilder *builder,
|
||||
string, value, error);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gboolean
|
||||
_gtk_builder_boolean_from_string (const char *string,
|
||||
gboolean *value,
|
||||
GError **error)
|
||||
|
@ -242,6 +242,10 @@ gboolean _gtk_builder_flags_from_string (GType type,
|
||||
const char *string,
|
||||
guint *value,
|
||||
GError **error);
|
||||
gboolean _gtk_builder_boolean_from_string (const char *string,
|
||||
gboolean *value,
|
||||
GError **error);
|
||||
|
||||
const char * _gtk_builder_parser_translate (const char *domain,
|
||||
const char *context,
|
||||
const char *text);
|
||||
|
Loading…
Reference in New Issue
Block a user