forked from AuroraMiddleware/gtk
inspector: Use event controller names
Use these in the same place we use widget names.
This commit is contained in:
parent
955ae40cd6
commit
b6baa15e0a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user