fix a crash in the SessionLogout action
authorDana Jansens <danakj@orodu.net>
Sat, 7 Nov 2009 02:02:09 +0000 (21:02 -0500)
committerDana Jansens <danakj@orodu.net>
Sat, 7 Nov 2009 02:02:09 +0000 (21:02 -0500)
openbox/actions/session.c

index 655aee2..04ba96c 100644 (file)
@@ -72,7 +72,7 @@ static gboolean logout_func(ObActionsData *data, gpointer options)
         prompt_show(p, NULL, FALSE);
     }
     else
-        prompt_cb(NULL, 1, NULL);
+        prompt_cb(NULL, 1, o);
 
     return FALSE;
 }