mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
drop sigc dependency
This commit is contained in:
parent
40bc2ccfbd
commit
626997af14
9 changed files with 52 additions and 100 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue