forked from enlightenment/enlightenment
emixer: avoid segv when no default sink is set.
This commit is contained in:
parent
c50eec9d81
commit
ded482d817
|
@ -632,6 +632,8 @@ _emix_sink_input_add(Emix_Sink_Input *input)
|
|||
Eina_Bool locked = EINA_TRUE;
|
||||
unsigned int i;
|
||||
|
||||
if (!input->sink) return;
|
||||
|
||||
fr = elm_frame_add(win);
|
||||
evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, 1.0);
|
||||
evas_object_size_hint_align_set(fr, EVAS_HINT_FILL, 0.0);
|
||||
|
|
Loading…
Reference in New Issue