aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 17:47:01 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 17:47:01 +0200
commit4522707accad358bd3098a6b1dd6966da5564610 (patch)
treef63dac0f6049fb8ef0d77ac0ffcc5a8013db820b /src/options.h
parent93c2a816ea59500f2bd5b800a54dc8add796ae7d (diff)
downloadmpd-4522707accad358bd3098a6b1dd6966da5564610.tar.gz
mpd-4522707accad358bd3098a6b1dd6966da5564610.tar.xz
mpd-4522707accad358bd3098a6b1dd6966da5564610.zip
options: use stdbool
Use the standard "bool" type instead of glib's "gboolean". This way, options.h doesn't have to include the fat glib.h.
Diffstat (limited to '')
-rw-r--r--src/options.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/options.h b/src/options.h
index f29014cbd..70853f4ff 100644
--- a/src/options.h
+++ b/src/options.h
@@ -1,7 +1,7 @@
#ifndef OPTIONS_H
#define OPTIONS_H
-#include <glib.h>
+#include <stdbool.h>
#define MPD_HOST_ENV "MPD_HOST"
#define MPD_PORT_ENV "MPD_PORT"
@@ -24,21 +24,21 @@ typedef struct {
int hide_cursor;
int seek_time;
int lyrics_timeout;
- gboolean reconnect;
- gboolean debug;
- gboolean find_wrap;
- gboolean find_show_last_pattern;
- gboolean list_wrap;
- gboolean auto_center;
- gboolean wide_cursor;
- gboolean enable_colors;
- gboolean audible_bell;
- gboolean visible_bell;
- gboolean enable_xterm_title;
- gboolean enable_mouse;
- gboolean scroll;
- gboolean visible_bitrate;
- gboolean welcome_screen_list;
+ bool reconnect;
+ bool debug;
+ bool find_wrap;
+ bool find_show_last_pattern;
+ bool list_wrap;
+ bool auto_center;
+ bool wide_cursor;
+ bool enable_colors;
+ bool audible_bell;
+ bool visible_bell;
+ bool enable_xterm_title;
+ bool enable_mouse;
+ bool scroll;
+ bool visible_bitrate;
+ bool welcome_screen_list;
} options_t;
#ifndef NO_GLOBAL_OPTIONS