Create the event role widget early so that it's always top of the list.
This commit is contained in:
parent
b96c707c12
commit
e71562619a
|
@ -217,8 +217,6 @@ void ext_stream_restore_read_cb(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
w->createEventRoleWidget();
|
|
||||||
|
|
||||||
if (eol > 0) {
|
if (eol > 0) {
|
||||||
dec_outstanding(w);
|
dec_outstanding(w);
|
||||||
return;
|
return;
|
||||||
|
@ -461,7 +459,11 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
ca_context_set_driver(ca_gtk_context_get(), "pulse");
|
ca_context_set_driver(ca_gtk_context_get(), "pulse");
|
||||||
|
|
||||||
Gtk::Window* mainWindow = MainWindow::create();
|
MainWindow* mainWindow = MainWindow::create();
|
||||||
|
|
||||||
|
/* Create event widget immediately so it's first in the list */
|
||||||
|
mainWindow->createEventRoleWidget();
|
||||||
|
|
||||||
|
|
||||||
pa_glib_mainloop *m = pa_glib_mainloop_new(g_main_context_default());
|
pa_glib_mainloop *m = pa_glib_mainloop_new(g_main_context_default());
|
||||||
g_assert(m);
|
g_assert(m);
|
||||||
|
|
Loading…
Reference in New Issue