Revert "fix a cast warning (as recommended in GTK+ docs"
This reverts commit af30a6f001
because it breaks OSX/MacOS builds:
libs/surfaces/mackie/mackie_control_protocol.cc:945: error: 'G_SOURCE_FUNC' was not declared in this scope
This commit is contained in:
parent
354995289d
commit
3ee08bbae7
|
@ -942,7 +942,7 @@ MackieControlProtocol::create_surfaces ()
|
|||
ipm->mcp = this;
|
||||
ipm->port = &input_port;
|
||||
|
||||
g_source_set_callback (surface->input_source, G_SOURCE_FUNC (ipmidi_input_handler), ipm, NULL);
|
||||
g_source_set_callback (surface->input_source, (GSourceFunc) ipmidi_input_handler, ipm, NULL);
|
||||
g_source_attach (surface->input_source, main_loop()->get_context()->gobj());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user