after some testing.. this code has been found wanting...

SVN revision: 6600
This commit is contained in:
Carsten Haitzler 2003-01-20 05:05:16 +00:00
parent 7b1247042b
commit df1d81011a
1 changed files with 4 additions and 4 deletions

View File

@ -20,6 +20,10 @@ evas_key_grab_new(Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modi
g = evas_mem_calloc(sizeof(Evas_Key_Grab)); g = evas_mem_calloc(sizeof(Evas_Key_Grab));
if (!g) return; if (!g) return;
g->object = obj;
g->modifiers = modifiers;
g->not_modifiers = not_modifiers;
g->exclusive = exclusive;
g->keyname = strdup(keyname); g->keyname = strdup(keyname);
if (!g->keyname) if (!g->keyname)
{ {
@ -64,10 +68,6 @@ evas_key_grab_new(Evas_Object *obj, const char *keyname, Evas_Modifier_Mask modi
return NULL; return NULL;
} }
} }
g->object = obj;
g->modifiers = modifiers;
g->not_modifiers = not_modifiers;
g->exclusive = exclusive;
return g; return g;
} }