checkmenuitem: use a gadget for the check indicator

This will make margins and other CSS properties work correctly on the
indicator.
This commit is contained in:
Cosimo Cecchi
2015-12-18 14:45:15 -08:00
parent 0e24d6cd85
commit 3af5c83cd3
6 changed files with 159 additions and 68 deletions

View File

@ -54,6 +54,7 @@ struct _GtkMenuItemPrivate
guint reserve_indicator : 1;
};
GtkCssGadget * _gtk_menu_item_get_gadget (GtkMenuItem *menu_item);
void _gtk_menu_item_refresh_accel_path (GtkMenuItem *menu_item,
const gchar *prefix,
GtkAccelGroup *accel_group,