diff --git a/src/libsysprof-ui/sysprof-details-page.c b/src/libsysprof-ui/sysprof-details-page.c index ac0178b3..f3227a26 100644 --- a/src/libsysprof-ui/sysprof-details-page.c +++ b/src/libsysprof-ui/sysprof-details-page.c @@ -28,14 +28,11 @@ #include "sysprof-details-page.h" #include "sysprof-ui-private.h" -#include "egg-three-grid.h" - struct _SysprofDetailsPage { GtkWidget parent_instance; /* Template Objects */ - EggThreeGrid *three_grid; GtkListStore *marks_store; GtkTreeView *marks_view; GtkLabel *counters; @@ -111,9 +108,6 @@ sysprof_details_page_class_init (SysprofDetailsPageClass *klass) gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, processes); gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, samples); 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 (EGG_TYPE_THREE_GRID); } static void @@ -271,24 +265,6 @@ sysprof_details_page_set_reader (SysprofDetailsPage *self, } } -void -sysprof_details_page_add_item (SysprofDetailsPage *self, - GtkWidget *left, - GtkWidget *center) -{ - g_return_if_fail (SYSPROF_IS_DETAILS_PAGE (self)); - g_return_if_fail (!left || GTK_IS_WIDGET (left)); - g_return_if_fail (!center || GTK_IS_WIDGET (center)); - - if (left) - egg_three_grid_add (self->three_grid, left, self->next_row, EGG_THREE_GRID_COLUMN_LEFT); - - if (center) - egg_three_grid_add (self->three_grid, center, self->next_row, EGG_THREE_GRID_COLUMN_CENTER); - - self->next_row++; -} - void sysprof_details_page_add_mark (SysprofDetailsPage *self, const gchar *mark, diff --git a/src/libsysprof-ui/sysprof-details-page.h b/src/libsysprof-ui/sysprof-details-page.h index 21a5e518..63b919fc 100644 --- a/src/libsysprof-ui/sysprof-details-page.h +++ b/src/libsysprof-ui/sysprof-details-page.h @@ -53,8 +53,5 @@ void sysprof_details_page_add_mark (SysprofDetailsPage *self, gint64 max, gint64 avg, gint64 hits); -void sysprof_details_page_add_item (SysprofDetailsPage *self, - GtkWidget *left, - GtkWidget *center); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-details-page.ui b/src/libsysprof-ui/sysprof-details-page.ui index 2730ff03..4869b0d4 100644 --- a/src/libsysprof-ui/sysprof-details-page.ui +++ b/src/libsysprof-ui/sysprof-details-page.ui @@ -2,294 +2,174 @@