GNOME Bugzilla – Bug 599403
Avoid using accel group internals in GtkSocket
Last modified: 2010-09-08 23:27:08 UTC
Created attachment 146100 [details] [review] Don't use structure fields of GtkAccelMap in GtkSocket In the 2.90 branch GtkAccelGroup's structure fields were removed, so GtkSocket doesn't compile anymore. I wonder if we can fix this without access to these members. One point is removing all closures for a certain key and modifier. I think this should work as is, but I'd like someone to check if it does what I think it does. The other point is, to remove all closures in a group. There is no API for that. So I wondered if we should allow to pass NULL for the closure in gtk_accel_group_disconnect to make that possible.
Comment on attachment 146100 [details] [review] Don't use structure fields of GtkAccelMap in GtkSocket Looks ok to me.
Pushed to master.