mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: hide unused sections
This commit is contained in:
@ -211,6 +211,16 @@ sysprof_callgraph_view_load (SysprofCallgraphView *self,
|
||||
g_clear_object (&functions);
|
||||
}
|
||||
|
||||
void
|
||||
_sysprof_callgraph_view_set_failed (SysprofCallgraphView *self)
|
||||
{
|
||||
SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self);
|
||||
|
||||
g_return_if_fail (SYSPROF_IS_CALLGRAPH_VIEW (self));
|
||||
|
||||
gtk_stack_set_visible_child_name (priv->stack, "empty-state");
|
||||
}
|
||||
|
||||
static void
|
||||
sysprof_callgraph_view_unload (SysprofCallgraphView *self)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user