{"action":"created","issue":{"url":"https://api.github.com/repos/gtk-rs/gtk/issues/637","repository_url":"https://api.github.com/repos/gtk-rs/gtk","labels_url":"https://api.github.com/repos/gtk-rs/gtk/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/gtk-rs/gtk/issues/637/comments","events_url":"https://api.github.com/repos/gtk-rs/gtk/issues/637/events","html_url":"https://github.com/gtk-rs/gtk/issues/637","id":306137175,"number":637,"title":"GLArea segfaults when dropped","user":{"login":"anniryynanen","id":8843118,"avatar_url":"https://avatars1.githubusercontent.com/u/8843118?v=4","gravatar_id":"","url":"https://api.github.com/users/anniryynanen","html_url":"https://github.com/anniryynanen","followers_url":"https://api.github.com/users/anniryynanen/followers","following_url":"https://api.github.com/users/anniryynanen/following{/other_user}","gists_url":"https://api.github.com/users/anniryynanen/gists{/gist_id}","starred_url":"https://api.github.com/users/anniryynanen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anniryynanen/subscriptions","organizations_url":"https://api.github.com/users/anniryynanen/orgs","repos_url":"https://api.github.com/users/anniryynanen/repos","events_url":"https://api.github.com/users/anniryynanen/events{/privacy}","received_events_url":"https://api.github.com/users/anniryynanen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-17T07:51:03Z","updated_at":"2018-04-12T19:49:48Z","closed_at":"2018-04-12T19:49:48Z","author_association":"NONE","body":"GLAreas don't seem to be getting dropped cleanly, this example segfaults when the window is closed:\r\n\r\n```\r\nextern crate gtk;\r\n\r\nuse gtk::prelude::*;\r\nuse gtk::{GLArea, Window, WindowType};\r\n\r\nfn main() {\r\n    if gtk::init().is_err() {\r\n        println!(\"Failed to initialize GTK.\");\r\n        return;\r\n    }\r\n\r\n    let window = Window::new(WindowType::Toplevel);\r\n    let gl_area = GLArea::new();\r\n    window.add(&gl_area);\r\n    window.show_all();\r\n\r\n    window.connect_delete_event(|_, _| {\r\n        gtk::main_quit();\r\n        Inhibit(false)\r\n    });\r\n\r\n    gtk::main();\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/gtk-rs/gtk/issues/comments/380923983","html_url":"https://github.com/gtk-rs/gtk/issues/637#issuecomment-380923983","issue_url":"https://api.github.com/repos/gtk-rs/gtk/issues/637","id":380923983,"user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars0.githubusercontent.com/u/3050060?v=4","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T19:49:48Z","updated_at":"2018-04-12T19:49:48Z","author_association":"OWNER","body":"Fixed so closing it."}}
{"actor":{"display_login":"GuillaumeGomez"}}