MCPcopy Create free account
hub / github.com/GNOME/gjs / toggle_handler

Function toggle_handler

gi/object.cpp:2255–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2253}
2254
2255static void toggle_handler(ObjectInstance* self,
2256 ToggleQueue::Direction direction) {
2257 switch (direction) {
2258 case ToggleQueue::UP:
2259 self->toggle_up();
2260 break;
2261 case ToggleQueue::DOWN:
2262 self->toggle_down();
2263 break;
2264 default:
2265 g_assert_not_reached();
2266 }
2267}
2268
2269void ObjectInstance::wrapped_gobj_toggle_notify(void* instance, GObject*,
2270 gboolean is_last_ref) {

Callers

nothing calls this directly

Calls 2

toggle_upMethod · 0.80
toggle_downMethod · 0.80

Tested by

no test coverage detected