summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-19 19:50:48 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-19 19:50:48 +0100
commit6e3bb506de081362d71dc097273fbe954f651056 (patch)
treee38dd0ba4a0b95eb850e3a4decb1c7f9302f0153 /include
parent4eb3fd1da33e91ad76efe1508702de50daf0df34 (diff)
Full mainloop madness
Diffstat (limited to 'include')
-rw-r--r--include/helper.h2
-rw-r--r--include/textbox.h18
2 files changed, 10 insertions, 10 deletions
diff --git a/include/helper.h b/include/helper.h
index b250604b..0d47762e 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -137,7 +137,7 @@ void remove_pid_file ( int fd );
*
* This functions exits the program with 1 when it finds an invalid configuration.
*/
-void config_sanity_check ( Display *display );
+int config_sanity_check ( Display *display );
/**
* @param arg string to parse.
diff --git a/include/textbox.h b/include/textbox.h
index c321eb47..757b1c62 100644
--- a/include/textbox.h
+++ b/include/textbox.h
@@ -42,15 +42,15 @@ typedef struct
typedef enum
{
- TB_AUTOHEIGHT = 1 << 0,
- TB_AUTOWIDTH = 1 << 1,
- TB_LEFT = 1 << 16,
- TB_RIGHT = 1 << 17,
- TB_CENTER = 1 << 18,
- TB_EDITABLE = 1 << 19,
- TB_MARKUP = 1 << 20,
- TB_WRAP = 1 << 21,
- TB_PASSWORD = 1 << 22,
+ TB_AUTOHEIGHT = 1 << 0,
+ TB_AUTOWIDTH = 1 << 1,
+ TB_LEFT = 1 << 16,
+ TB_RIGHT = 1 << 17,
+ TB_CENTER = 1 << 18,
+ TB_EDITABLE = 1 << 19,
+ TB_MARKUP = 1 << 20,
+ TB_WRAP = 1 << 21,
+ TB_PASSWORD = 1 << 22,
} TextboxFlags;
typedef enum