[sysprof/wip/gtk4-port: 26/125] detailspage: dedazzle
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/gtk4-port: 26/125] detailspage: dedazzle
- Date: Fri, 29 Oct 2021 02:02:30 +0000 (UTC)
commit 3e0a11c627f333795c8e2b86b19518643117f6f1
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 28 13:39:01 2021 -0700
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 <dazzle.h>
#include <glib/gi18n.h>
#include <string.h>
#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 @@
<property name="propagate-natural-height">true</property>
<property name="visible">true</property>
<child>
- <object class="DzlThreeGrid" id="three_grid">
+ <object class="EggThreeGrid" id="three_grid">
<property name="margin">36</property>
<property name="column-spacing">12</property>
<property name="row-spacing">6</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]