GNOME Bugzilla – Bug 602174
Avoid using accel group internals in GtkWindow
Last modified: 2010-09-08 23:27:10 UTC
+++ This bug was initially created as a clone of Bug #599403 +++ In the 2.90 branch GtkAccelGroup's structure fields were removed, so GtkWindow doesn't compile anymore. I wonder if we can fix this without access to these members.
Created attachment 148715 [details] [review] Move GtkAccelGroup private structure to shared header file Here a patch to solve this problem using a private structure stored in a shared header file. If this is the correct approach, GtkAccelLabel and gailmenuitem.c have the same problem.
Created attachment 148716 [details] [review] Move GtkAccelGroup private structure to shared header file.v2 Sorry, I forgot to add the new file
Review of attachment 148716 [details] [review]: Looks like the right thing to do. You may want to keep GTK_ACCEL_GROUP_GET_PRIVATE inside gtkaccelgroup.c to make sure nobody is tempted to use it, other than that go for it.
Created attachment 148773 [details] [review] Move GtkAccelGroup private structure to shared header file.v3
Comment on attachment 148773 [details] [review] Move GtkAccelGroup private structure to shared header file.v3 commit 715056f7348b51f3a3a9b3812afabcc45155b135