summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon')
-rw-r--r--klaptopdaemon/daemondock.cpp2
-rw-r--r--klaptopdaemon/linux/cs.h4
-rw-r--r--klaptopdaemon/linux/k_compat.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp
index 32ed524..60540b0 100644
--- a/klaptopdaemon/daemondock.cpp
+++ b/klaptopdaemon/daemondock.cpp
@@ -708,7 +708,7 @@ quit:
// and which has a transparent background.
// Unfortunately this required the following twisted code because for some
// reason text that is drawn on a transparent pixmap is invisible
- // (aptqparently the alpha channel isn't changed when the text is drawn).
+ // (apparently the alpha channel isn't changed when the text is drawn).
// Therefore I have to draw the text on a solid background and then remove
// the background by making it transparent with TQPixmap::setMask. This
// involves the slow createHeuristicMask() function (from the API docs:
diff --git a/klaptopdaemon/linux/cs.h b/klaptopdaemon/linux/cs.h
index 69a38e0..93d159a 100644
--- a/klaptopdaemon/linux/cs.h
+++ b/klaptopdaemon/linux/cs.h
@@ -220,10 +220,10 @@ typedef struct irq_req_t {
#define IRTQ_PULSE_ID 0x40
#define IRTQ_SHARE_ID 0x80
-typedef struct eventtqmask_t {
+typedef struct eventmask_t {
u_int Attributes;
u_int EventMask;
-} eventtqmask_t;
+} eventmask_t;
#define CONF_EVENT_MASK_VALID 0x01
diff --git a/klaptopdaemon/linux/k_compat.h b/klaptopdaemon/linux/k_compat.h
index d18eaa5..e6d581b 100644
--- a/klaptopdaemon/linux/k_compat.h
+++ b/klaptopdaemon/linux/k_compat.h
@@ -124,11 +124,11 @@
#endif
#if (LINUX_VERSION_CODE < VERSION(2,1,51))
-#define INVALIDATE_INODES(r) tqinvalidate_inodes(r)
+#define INVALIDATE_INODES(r) invalidate_inodes(r)
#else
#define INVALIDATE_INODES(r) \
do { struct super_block *sb = get_super(r); \
- if (sb) tqinvalidate_inodes(sb); } while (0)
+ if (sb) invalidate_inodes(sb); } while (0)
#endif
#if (LINUX_VERSION_CODE < VERSION(2,1,60))