[sysprof/wip/gtk4-port] libsysprof-ui: remove use of EggPaned



commit c41fb4c970f8312e54fea69fb62ab4f8b3f90a34
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 1 13:39:06 2022 -0700

    libsysprof-ui: remove use of EggPaned
    
    For now, just to be sure it's not involved in causing infloop with labels
    when loading a capture.

 src/libsysprof-ui/sysprof-callgraph-page.c  | 3 ---
 src/libsysprof-ui/sysprof-callgraph-page.ui | 4 ++--
 src/libsysprof-ui/sysprof-display.ui        | 2 +-
 src/libsysprof-ui/sysprof-memprof-page.ui   | 4 ++--
 4 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-callgraph-page.c b/src/libsysprof-ui/sysprof-callgraph-page.c
index 0cbabbb4..3f305f11 100644
--- a/src/libsysprof-ui/sysprof-callgraph-page.c
+++ b/src/libsysprof-ui/sysprof-callgraph-page.c
@@ -43,8 +43,6 @@
 
 #include "../stackstash.h"
 
-#include "egg-paned-private.h"
-
 #include "sysprof-callgraph-page.h"
 #include "sysprof-cell-renderer-percent.h"
 
@@ -946,7 +944,6 @@ sysprof_callgraph_page_class_init (SysprofCallgraphPageClass *klass)
   gtk_widget_class_add_binding_action (widget_class, GDK_KEY_c, GDK_CONTROL_MASK, "page.copy", NULL);
   gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_Left, GDK_ALT_MASK, "go-previous", NULL);
 
-  g_type_ensure (EGG_TYPE_PANED);
   g_type_ensure (SYSPROF_TYPE_CELL_RENDERER_PERCENT);
 }
 
diff --git a/src/libsysprof-ui/sysprof-callgraph-page.ui b/src/libsysprof-ui/sysprof-callgraph-page.ui
index 6a0343e7..e189e278 100644
--- a/src/libsysprof-ui/sysprof-callgraph-page.ui
+++ b/src/libsysprof-ui/sysprof-callgraph-page.ui
@@ -4,11 +4,11 @@
       <object class="GtkStack" id="stack">
         <property name="visible">true</property>
         <child>
-          <object class="EggPaned" id="callgraph">
+          <object class="GtkPaned" id="callgraph">
             <property name="orientation">horizontal</property>
             <property name="visible">true</property>
             <child>
-              <object class="EggPaned">
+              <object class="GtkPaned">
                 <property name="orientation">vertical</property>
                 <property name="visible">true</property>
                 <property name="width-request">400</property>
diff --git a/src/libsysprof-ui/sysprof-display.ui b/src/libsysprof-ui/sysprof-display.ui
index 7e7d5f5d..ccdc8120 100644
--- a/src/libsysprof-ui/sysprof-display.ui
+++ b/src/libsysprof-ui/sysprof-display.ui
@@ -20,7 +20,7 @@
           <object class="GtkStackPage">
             <property name="name">view</property>
             <property name="child">
-              <object class="EggPaned">
+              <object class="GtkPaned">
                 <property name="orientation">vertical</property>
                 <child>
                   <object class="GtkBox">
diff --git a/src/libsysprof-ui/sysprof-memprof-page.ui b/src/libsysprof-ui/sysprof-memprof-page.ui
index 48d6e9da..8546c23b 100644
--- a/src/libsysprof-ui/sysprof-memprof-page.ui
+++ b/src/libsysprof-ui/sysprof-memprof-page.ui
@@ -219,12 +219,12 @@
               </object>
             </child>
             <child>
-              <object class="EggPaned" id="callgraph">
+              <object class="GtkPaned" id="callgraph">
                 <property name="orientation">horizontal</property>
                 <property name="vexpand">true</property>
                 <property name="visible">true</property>
                 <child>
-                  <object class="EggPaned">
+                  <object class="GtkPaned">
                     <property name="width-request">400</property>
                     <property name="orientation">vertical</property>
                     <property name="visible">true</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]