Make GtkAccelGroupEntry public again

Even though it was marked as internal, it seems gnome-terminal was
poking into the structure. It's unfortunately part of our ABI.
This commit is contained in:
Jasper St. Pierre 2014-04-05 22:44:00 -04:00
parent 2a26c39b29
commit ae7b154cf7
2 changed files with 7 additions and 7 deletions

View File

@ -235,6 +235,13 @@ GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group,
GdkModifierType accel_mods, GdkModifierType accel_mods,
guint *n_entries); guint *n_entries);
struct _GtkAccelGroupEntry
{
GtkAccelKey key;
GClosure *closure;
GQuark accel_path_quark;
};
G_END_DECLS G_END_DECLS
#endif /* __GTK_ACCEL_GROUP_H__ */ #endif /* __GTK_ACCEL_GROUP_H__ */

View File

@ -38,13 +38,6 @@ void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group,
GQuark accel_path_quark); GQuark accel_path_quark);
GSList* _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group); GSList* _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group);
struct _GtkAccelGroupEntry
{
GtkAccelKey key;
GClosure *closure;
GQuark accel_path_quark;
};
G_END_DECLS G_END_DECLS
#endif /* __GTK_ACCEL_GROUP_PRIVATE_H__ */ #endif /* __GTK_ACCEL_GROUP_PRIVATE_H__ */