inspector: Use event controller names

Use these in the same place we use widget names.
This commit is contained in:
Matthias Clasen 2019-06-19 11:11:06 +00:00
parent 955ae40cd6
commit b6baa15e0a

View File

@ -673,6 +673,11 @@ gtk_inspector_get_object_name (GObject *object)
return id;
}
if (GTK_IS_EVENT_CONTROLLER (object))
{
return gtk_event_controller_get_name (GTK_EVENT_CONTROLLER (object));
}
return NULL;
}