jeyzu pushed a commit to branch master.

commit 3f34680b7a438e9db6d2fcb3b29697f87a33f1b5
Author: Jérémy Zurcher <[email protected]>
Date:   Sat Mar 30 10:14:45 2013 +0100

    reprotect _mixer_popup_key_down_cb
    
    /me still asleep, it's better like this
---
 src/modules/mixer/e_mod_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c
index 27ea786..5fd8f14 100644
--- a/src/modules/mixer/e_mod_main.c
+++ b/src/modules/mixer/e_mod_main.c
@@ -467,6 +467,7 @@ _mixer_popup_key_down_cb(void *data, Ecore_Event_Key *ev)
    E_Mixer_Instance *inst = data;
    const char *keysym;
 
+   if (!inst) return ECORE_CALLBACK_PASS_ON;
    keysym = ev->key;
    if (strcmp(keysym, "Escape") == 0)
      _mixer_popup_del(inst);

-- 

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2

Reply via email to