Adding calls check, we must be in a call to update those properties.
authorGuilherme Iscaro <iscaro@profusion.mobi>
Wed, 11 Jul 2012 13:52:08 +0000 (10:52 -0300)
committerGuilherme Iscaro <iscaro@profusion.mobi>
Wed, 11 Jul 2012 13:52:08 +0000 (10:52 -0300)
dialer/callscreen.c

index 1ad10fc..1db6126 100644 (file)
@@ -273,6 +273,9 @@ static void _ofono_changed(void *data)
        Evas_Object *ed;
        const char *sig;
 
+       if (!ctx->calls)
+               return;
+
        sig = ofono_mute_get() ? "toggle,on,mute" : "toggle,off,mute";
        elm_object_signal_emit(ctx->self, sig, "call");