aboutsummaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-05-02 10:43:46 +0000
committerSimon Tatham <anakin@pobox.com>2004-05-02 10:43:46 +0000
commitee171498221e701d446fd1bf18c5e1c5771ef128 (patch)
treec82ab56dfb47a40cf3f5f7cf6ebdb87257ab9d76 /gtk.c
parent44ff00665b271ffc789d750d8ad2e5cf25e5327d (diff)
downloadpuzzles-ee171498221e701d446fd1bf18c5e1c5771ef128.zip
puzzles-ee171498221e701d446fd1bf18c5e1c5771ef128.tar.gz
puzzles-ee171498221e701d446fd1bf18c5e1c5771ef128.tar.bz2
puzzles-ee171498221e701d446fd1bf18c5e1c5771ef128.tar.xz
`BOOLEAN' is a term already used by Win32. Bah. Change terminology.
[originally from svn r4183]
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk.c b/gtk.c
index d443f5f..5e9de90 100644
--- a/gtk.c
+++ b/gtk.c
@@ -495,11 +495,11 @@ static int get_config(frontend *fe)
table, FALSE, FALSE, 0);
gtk_widget_show(table);
- for (i = fe->cfg; i->type != ENDCFG; i++) {
+ for (i = fe->cfg; i->type != C_END; i++) {
gtk_table_resize(GTK_TABLE(table), y+1, 2);
switch (i->type) {
- case STRING:
+ case C_STRING:
/*
* Edit box with a label beside it.
*/
@@ -524,7 +524,7 @@ static int get_config(frontend *fe)
break;
- case BOOLEAN:
+ case C_BOOLEAN:
/*
* Simple checkbox.
*/
@@ -539,7 +539,7 @@ static int get_config(frontend *fe)
gtk_widget_show(w);
break;
- case CHOICES:
+ case C_CHOICES:
/*
* Drop-down list (GtkOptionMenu).
*/