Commit e8f96deddfe44ae935df680559390bf399561ecf
1 parent
3ca357c4
Exists in
master
and in
5 other branches
Incluindo opção para salvar booleanos no arquivo de configuração
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/pw3270/tools.c
| ... | ... | @@ -114,3 +114,8 @@ LIB3270_EXPORT gint pw3270_get_boolean(GtkWidget *widget, const gchar *group, co |
| 114 | 114 | { |
| 115 | 115 | return get_boolean_from_config(group, key, def); |
| 116 | 116 | } |
| 117 | + | |
| 118 | +LIB3270_EXPORT void pw3270_set_boolean(GtkWidget *widget, const gchar *group, const gchar *key, gint val) | |
| 119 | +{ | |
| 120 | + set_boolean_to_config(group, key, val); | |
| 121 | +} | ... | ... |