Browse Source

return namespaces to prevent segmentation mismatch

CPP-GTK4
yggverse 2 months ago
parent
commit
5578c3226a
  1. 4
      src/app/browser/main/tab/page.cpp

4
src/app/browser/main/tab/page.cpp

@ -654,7 +654,7 @@ Glib::RefPtr<Gio::SocketClient> Page::Socket::Client::create(
*/ */
Glib::RefPtr<Gio::SocketClient> Page::Socket::Client::Gemini::create() Glib::RefPtr<Gio::SocketClient> Page::Socket::Client::Gemini::create()
{ {
const auto GEMINI_CLIENT = create(); const auto GEMINI_CLIENT = Socket::Client::create();
GEMINI_CLIENT->set_tls( GEMINI_CLIENT->set_tls(
true true
@ -688,7 +688,7 @@ bool Page::Socket::Connection::is_active(
bool Page::Socket::Connection::close( bool Page::Socket::Connection::close(
Glib::RefPtr<Gio::SocketConnection> & connection Glib::RefPtr<Gio::SocketConnection> & connection
) { ) {
if (is_active(connection)) if (Socket::Connection::is_active(connection))
{ {
if (connection->close()) if (connection->close())
{ {

Loading…
Cancel
Save