Skip to content

Commit ae4fec4

Browse files
author
Jonathan Curran
committed
Fix broken notification code in gtk example
1 parent a4a6a4b commit ae4fec4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/prompt_gtk.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ let main () =
147147

148148
let rec dump_notification () =
149149
match conn#notifies with
150-
| Some (msg, pid, extra) ->
151-
let _ = clist#append [string_of_int pid; msg; extra] in
150+
| Some { Notification.name; pid; extra } ->
151+
let _ = clist#append [string_of_int pid; name; extra] in
152152
window#show ();
153153
dump_notification ()
154154
| None -> () in

0 commit comments

Comments
 (0)