eekboard context: Remove some unused code

This commit is contained in:
Dorota Czaplejewicz
2020-03-05 11:26:53 +00:00
parent 16d7fcae7c
commit 710509a671
2 changed files with 1 additions and 46 deletions

View File

@ -51,9 +51,6 @@ typedef struct _EekboardContextServicePrivate EekboardContextServicePrivate;
*
* TODO: Restrict to managing keyboard layouts, and maybe button repeats,
* and the virtual keyboard protocol.
*
* The #EekboardContextService structure contains only private data
* and should only be accessed using the provided API.
*/
struct _EekboardContextService {
GObject parent;
@ -61,20 +58,10 @@ struct _EekboardContextService {
struct squeek_layout_state *layout; // Unowned
};
/**
* EekboardContextServiceClass:
* @create_keyboard: virtual function for create a keyboard from string
* @enabled: class handler for #EekboardContextService::enabled signal
* @disabled: class handler for #EekboardContextService::disabled signal
*/
struct _EekboardContextServiceClass {
/*< private >*/
GObjectClass parent_class;
/*< public >*/
/* signals */
void (*destroyed) (EekboardContextService *self);
/*< private >*/
/* padding */
gpointer pdummy[24];
@ -94,8 +81,6 @@ void eek_gsettings_tracker_init(struct gsettings_tracker* tracker, EekboardConte
EekboardContextService *eekboard_context_service_new(struct squeek_layout_state *state);
void eekboard_context_service_set_submission(EekboardContextService *context, struct submission *submission);
void eekboard_context_service_set_ui(EekboardContextService *context, ServerContextService *ui);
void eekboard_context_service_destroy (EekboardContextService *context);
LevelKeyboard *eekboard_context_service_get_keyboard(EekboardContextService *context);
void eekboard_context_service_set_keymap(EekboardContextService *context,