diff --git a/src/libsysprof-ui/sysprof-memprof-page.c b/src/libsysprof-ui/sysprof-memprof-page.c index 683943d2..843d0352 100644 --- a/src/libsysprof-ui/sysprof-memprof-page.c +++ b/src/libsysprof-ui/sysprof-memprof-page.c @@ -1020,14 +1020,14 @@ do_allocs (SysprofMemprofPage *self, static void mode_notify_active (SysprofMemprofPage *self, GParamSpec *pspec, - GtkCheckButton *button) + GtkToggleButton *button) { SysprofMemprofPagePrivate *priv = sysprof_memprof_page_get_instance_private (self); g_assert (SYSPROF_IS_MEMPROF_PAGE (self)); - g_assert (GTK_IS_CHECK_BUTTON (button)); + g_assert (GTK_IS_TOGGLE_BUTTON (button)); - if (gtk_check_button_get_active (GTK_CHECK_BUTTON (button))) + if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button))) { if (button == priv->summary) do_allocs (self, SYSPROF_MEMPROF_MODE_SUMMARY); diff --git a/src/libsysprof-ui/sysprof-memprof-page.ui b/src/libsysprof-ui/sysprof-memprof-page.ui index 83929e99..48d6e9da 100644 --- a/src/libsysprof-ui/sysprof-memprof-page.ui +++ b/src/libsysprof-ui/sysprof-memprof-page.ui @@ -6,7 +6,7 @@ vertical true - + horizontal true @@ -20,26 +20,23 @@ - + Summary - false true false - + All Allocations - false true summary true - + Temporary Allocations - false true false summary @@ -81,7 +78,7 @@ true - true + true 6 18 true @@ -224,10 +221,11 @@ horizontal - true + true true + 400 vertical true