mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Port to libsoup3
With all apps and modules/plugins porting itself to libsoup3 we also need to do so. It would appear as a good idea to conditionally import "3.0" and fallback to "2.4" bindings here, but its not as loaded GStreamer plugins might use libsoup3 already and we cannot have both libsoup2 and libsoup3 in a single process.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
imports.gi.versions.Gdk = '4.0';
|
||||
imports.gi.versions.Gtk = '4.0';
|
||||
imports.gi.versions.Soup = '2.4';
|
||||
imports.gi.versions.Soup = '3.0';
|
||||
|
||||
pkg.initGettext();
|
||||
pkg.initFormat();
|
||||
|
@@ -107,7 +107,7 @@ class ClapperWebServer extends Soup.Server
|
||||
this.remove_handler('/');
|
||||
}
|
||||
|
||||
_onWsConnection(server, connection)
|
||||
_onWsConnection(server, msg, path, connection)
|
||||
{
|
||||
debug('new WebSocket connection');
|
||||
|
||||
|
Reference in New Issue
Block a user