summaryrefslogtreecommitdiff
path: root/openbox/dock.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-23 20:22:28 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:54 -0500
commit452627a51ce38229533dfe5d8eeb877b0918d02c (patch)
tree6be855a5245e4e2f9acbb6dcbc72710675799c61 /openbox/dock.c
parentfe57b2f2f03ef3c608be7082e3a72630eaf77974 (diff)
Move the main loop out into the libobt
Diffstat (limited to 'openbox/dock.c')
-rw-r--r--openbox/dock.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/openbox/dock.c b/openbox/dock.c
index ed8bed4b..0747f40e 100644
--- a/openbox/dock.c
+++ b/openbox/dock.c
@@ -19,7 +19,6 @@
#include "debug.h"
#include "dock.h"
-#include "mainloop.h"
#include "screen.h"
#include "prop.h"
#include "config.h"
@@ -630,19 +629,21 @@ void dock_hide(gboolean hide)
{
if (!hide) {
if (dock->hidden && config_dock_hide) {
- ob_main_loop_timeout_add(ob_main_loop,
- config_dock_show_delay * 1000,
- show_timeout, NULL, g_direct_equal, NULL);
+ obt_main_loop_timeout_add(ob_main_loop,
+ config_dock_show_delay * 1000,
+ show_timeout, NULL,
+ g_direct_equal, NULL);
} else if (!dock->hidden && config_dock_hide) {
- ob_main_loop_timeout_remove(ob_main_loop, hide_timeout);
+ obt_main_loop_timeout_remove(ob_main_loop, hide_timeout);
}
} else {
if (!dock->hidden && config_dock_hide) {
- ob_main_loop_timeout_add(ob_main_loop,
- config_dock_hide_delay * 1000,
- hide_timeout, NULL, g_direct_equal, NULL);
+ obt_main_loop_timeout_add(ob_main_loop,
+ config_dock_hide_delay * 1000,
+ hide_timeout, NULL,
+ g_direct_equal, NULL);
} else if (dock->hidden && config_dock_hide) {
- ob_main_loop_timeout_remove(ob_main_loop, show_timeout);
+ obt_main_loop_timeout_remove(ob_main_loop, show_timeout);
}
}
}