remove E_Comp_Data reference from wl-x11 module
fix T2528
This commit is contained in:
parent
50df06777d
commit
8c223c0af4
|
@ -14,7 +14,6 @@ _cb_delete_request(Ecore_Evas *ee EINA_UNUSED)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_cb_keymap_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
_cb_keymap_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||||
{
|
{
|
||||||
E_Comp_Data *cdata;
|
|
||||||
E_Config_XKB_Layout *ekbd;
|
E_Config_XKB_Layout *ekbd;
|
||||||
char *rules = NULL, *model = NULL, *layout = NULL;
|
char *rules = NULL, *model = NULL, *layout = NULL;
|
||||||
Ecore_X_Atom xkb = 0;
|
Ecore_X_Atom xkb = 0;
|
||||||
|
@ -24,8 +23,6 @@ _cb_keymap_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
||||||
|
|
||||||
printf("KEYMAP CHANGED\n");
|
printf("KEYMAP CHANGED\n");
|
||||||
|
|
||||||
if (!(cdata = data)) return ECORE_CALLBACK_PASS_ON;
|
|
||||||
|
|
||||||
/* try to fetch the E keyboard layout */
|
/* try to fetch the E keyboard layout */
|
||||||
if ((ekbd = e_xkb_layout_get()))
|
if ((ekbd = e_xkb_layout_get()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue