libsysprof-ui: wire up display for re-recording

This commit is contained in:
Christian Hergert
2019-05-23 17:20:45 -07:00
parent 974cbf5130
commit 7c41a99b99
2 changed files with 33 additions and 2 deletions

View File

@ -344,6 +344,7 @@ sysprof_notebook_replay (SysprofNotebook *self)
{
SysprofDisplay *display;
SysprofDisplay *replay;
gint page;
g_return_if_fail (SYSPROF_IS_NOTEBOOK (self));
@ -354,5 +355,8 @@ sysprof_notebook_replay (SysprofNotebook *self)
g_return_if_fail (SYSPROF_IS_DISPLAY (replay));
gtk_widget_show (GTK_WIDGET (replay));
gtk_container_add (GTK_CONTAINER (self), GTK_WIDGET (replay));
page = gtk_notebook_page_num (GTK_NOTEBOOK (self), GTK_WIDGET (replay));
gtk_notebook_set_current_page (GTK_NOTEBOOK (self), page);
}