PHP-GTK Client for Gemini Protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
531 B

#include "main.hpp"
#include "app/browser.hpp"
int main(
int argc,
3 months ago
char* argv[]
) {
// Init app
3 months ago
auto app = Gtk::Application::create(
APPLICATION_ID
);
3 months ago
// Init actions
app->add_action(
"quit",
sigc::mem_fun(
*app,
&Gtk::Application::quit
)
);
app->set_accel_for_action(
"app.quit",
"<Primary>q"
);
// Launch browser component
3 months ago
return app->make_window_and_run<app::Browser>(
argc,
argv
);
}