From eea43e64883fc0c988b916db99bc5b45ccffc432 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 18:50:47 +0000 Subject: make the ob_restart/shutdown stuff static vars and expose them only through functions ob_restart_other(), ob_restart() and ob_exit() --- openbox/action.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index 7c98f7a6..6e06d374 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1121,13 +1121,12 @@ void action_moveresize(union ActionData *data) void action_restart(union ActionData *data) { - ob_restart_path = g_strdup(data->execute.path); - ob_shutdown = ob_restart = TRUE; + ob_restart_other(data->execute.path); } void action_exit(union ActionData *data) { - ob_shutdown = TRUE; + ob_exit(); } void action_showmenu(union ActionData *data) -- cgit v1.2.3