drop sigc dependency

This commit is contained in:
yggverse 2024-08-16 19:45:42 +03:00
parent 40bc2ccfbd
commit 626997af14
9 changed files with 52 additions and 100 deletions

View file

@ -17,10 +17,12 @@ Label::Label()
);*/
controller->signal_pressed().connect(
sigc::mem_fun(
* this,
& Label::on_click
)
[this](int n, double x, double y)
{
on_click(
n, x, y
);
}
);
add_controller(

View file

@ -5,7 +5,6 @@
#include <glibmm/refptr.h>
#include <gtkmm/gestureclick.h>
#include <gtkmm/label.h>
#include <sigc++/functors/mem_fun.h>
namespace app::browser::main::tab
{

View file

@ -71,10 +71,10 @@ Navbar::Navbar()
// Define group actions
action_group->add_action(
"refresh",
sigc::mem_fun(
* this,
& Navbar::refresh
)
[this]
{
refresh();
}
);
insert_action_group(

View file

@ -5,7 +5,6 @@
#include <glibmm/refptr.h>
#include <glibmm/ustring.h>
#include <gtkmm/box.h>
#include <sigc++/functors/mem_fun.h>
#include <string>
namespace app::browser::main::tab::page