From 304b2901acf16b46e4a339e72270e89c0bfdf4d9 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 28 Sep 2021 13:39:01 -0700 Subject: [PATCH] detailspage: dedazzle --- src/libsysprof-ui/sysprof-details-page.c | 11 ++++++----- src/libsysprof-ui/sysprof-details-page.ui | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/libsysprof-ui/sysprof-details-page.c b/src/libsysprof-ui/sysprof-details-page.c index 8755f0e9..f62d1c79 100644 --- a/src/libsysprof-ui/sysprof-details-page.c +++ b/src/libsysprof-ui/sysprof-details-page.c @@ -22,19 +22,20 @@ #include "config.h" -#include #include #include #include "sysprof-details-page.h" #include "sysprof-ui-private.h" +#include "egg-three-grid.h" + struct _SysprofDetailsPage { SysprofPage parent_instance; /* Template Objects */ - DzlThreeGrid *three_grid; + EggThreeGrid *three_grid; GtkListStore *marks_store; GtkTreeView *marks_view; GtkLabel *counters; @@ -96,7 +97,7 @@ sysprof_details_page_class_init (SysprofDetailsPageClass *klass) gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, start_time); gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, three_grid); - g_type_ensure (DZL_TYPE_THREE_GRID); + g_type_ensure (EGG_TYPE_THREE_GRID); } static void @@ -266,13 +267,13 @@ sysprof_details_page_add_item (SysprofDetailsPage *self, if (left) gtk_container_add_with_properties (GTK_CONTAINER (self->three_grid), left, "row", self->next_row, - "column", DZL_THREE_GRID_COLUMN_LEFT, + "column", EGG_THREE_GRID_COLUMN_LEFT, NULL); if (center) gtk_container_add_with_properties (GTK_CONTAINER (self->three_grid), center, "row", self->next_row, - "column", DZL_THREE_GRID_COLUMN_CENTER, + "column", EGG_THREE_GRID_COLUMN_CENTER, NULL); self->next_row++; diff --git a/src/libsysprof-ui/sysprof-details-page.ui b/src/libsysprof-ui/sysprof-details-page.ui index aaedcd9b..e49f1d1e 100644 --- a/src/libsysprof-ui/sysprof-details-page.ui +++ b/src/libsysprof-ui/sysprof-details-page.ui @@ -10,7 +10,7 @@ true true - + 36 12 6