Skip to content

Commit

Permalink
app-info: Use engine name to determine host apps
Browse files Browse the repository at this point in the history
No functional changes (hopefully).
  • Loading branch information
GeorgesStavracas committed Feb 7, 2025
1 parent 20a6a2b commit c8b31e4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/xdp-app-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,13 @@ xdp_app_info_init (XdpAppInfo *app_info)
gboolean
xdp_app_info_is_host (XdpAppInfo *app_info)
{
return XDP_IS_APP_INFO_HOST (app_info) || XDP_IS_APP_INFO_TEST (app_info);
XdpAppInfoPrivate *priv;

g_return_val_if_fail (app_info != NULL, FALSE);

priv = xdp_app_info_get_instance_private (app_info);

return priv->engine == NULL;
}

const char *
Expand Down

0 comments on commit c8b31e4

Please sign in to comment.