init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
43
cmake/external/glib/cppgir/override/gio/simpleaction_extra_def.hpp
vendored
Normal file
43
cmake/external/glib/cppgir/override/gio/simpleaction_extra_def.hpp
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef _GI_GIO_SIMPLE_ACTION_EXTRA_DEF_HPP_
|
||||
#define _GI_GIO_SIMPLE_ACTION_EXTRA_DEF_HPP_
|
||||
|
||||
namespace gi
|
||||
{
|
||||
namespace repository
|
||||
{
|
||||
namespace Gio
|
||||
{
|
||||
class SimpleAction;
|
||||
|
||||
namespace base
|
||||
{
|
||||
class SimpleActionExtra : public GI_GIO_SIMPLEACTION_BASE
|
||||
{
|
||||
typedef GI_GIO_SIMPLEACTION_BASE super;
|
||||
|
||||
public:
|
||||
// clang-format off
|
||||
|
||||
// add some signals that are missing due to missing parameter type annotation
|
||||
// (at least in older Gio)
|
||||
|
||||
gi::signal_proxy<void(Gio::SimpleAction, GLib::Variant)> signal_activate()
|
||||
{ return gi::signal_proxy<void(Gio::SimpleAction, GLib::Variant)>(*this, "activate"); }
|
||||
|
||||
gi::signal_proxy<void(Gio::SimpleAction, GLib::Variant)> signal_change_state()
|
||||
{ return gi::signal_proxy<void(Gio::SimpleAction, GLib::Variant)>(*this, "change-state"); }
|
||||
// clang-format on
|
||||
}; // class
|
||||
|
||||
#undef GI_GIO_SIMPLEACTION_BASE
|
||||
#define GI_GIO_SIMPLEACTION_BASE base::SimpleActionExtra
|
||||
|
||||
} // namespace base
|
||||
|
||||
} // namespace Gio
|
||||
|
||||
} // namespace repository
|
||||
|
||||
} // namespace gi
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user