mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
libsysprof-ui: clean up and remove child widgets
This commit is contained in:
@ -83,6 +83,10 @@ sysprof_recording_state_view_dispose (GObject *object)
|
||||
{
|
||||
SysprofRecordingStateView *self = (SysprofRecordingStateView *)object;
|
||||
SysprofRecordingStateViewPrivate *priv = sysprof_recording_state_view_get_instance_private (self);
|
||||
GtkWidget *child;
|
||||
|
||||
while ((child = gtk_widget_get_first_child (GTK_WIDGET (self))))
|
||||
gtk_widget_unparent (child);
|
||||
|
||||
if (priv->profiler != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user