summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2008-02-15 16:47:10 +0100
committerMikael Magnusson <mikachu@comhem.se>2008-02-15 16:47:10 +0100
commit9e05faf3d6ac1c527032efb7210de8bbfeb2212c (patch)
tree4ab52e2891af75fb0cf0ba125fd69b727c71c56a /openbox/openbox.c
parent0ffd1ccc4701a9814e6ee570461b1250dd16f1e3 (diff)
() -> (void) also in .h files, and fix a place that gave arguments when it shouldn't have.
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index d6da5ec7..012666dc 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -148,7 +148,7 @@ gint main(gint argc, gchar **argv)
* remote_control = 2 -> restart */
OBT_PROP_MSG(ob_screen, obt_root(ob_screen),
OB_CONTROL, remote_control, 0, 0, 0, 0);
- obt_display_close(obt_display);
+ obt_display_close();
exit(EXIT_SUCCESS);
}
@@ -384,7 +384,7 @@ gint main(gint argc, gchar **argv)
session_shutdown(being_replaced);
- obt_display_close(obt_display);
+ obt_display_close();
if (restart) {
if (restart_path != NULL) {