Check errors when retrieving XKB layout information.

This commit is contained in:
Daiki Ueno
2012-04-24 11:50:00 +09:00
parent cce883808e
commit b5b59e77d6
3 changed files with 76 additions and 100 deletions

View File

@ -60,12 +60,13 @@ struct _EekXkbLayoutClass
gpointer pdummy[24];
};
GType eek_xkb_layout_get_type (void) G_GNUC_CONST;
EekLayout *eek_xkb_layout_new (Display *display,
GError **error);
GType eek_xkb_layout_get_type (void) G_GNUC_CONST;
EekLayout *eek_xkb_layout_new (Display *display,
GError **error);
gboolean eek_xkb_layout_set_names (EekXkbLayout *layout,
XkbComponentNamesRec *names);
gboolean eek_xkb_layout_set_names (EekXkbLayout *layout,
XkbComponentNamesRec *names,
GError **error);
G_END_DECLS
#endif /* #ifndef EEK_XKB_LAYOUT_H */