[gnome-builder/wip/gtk4-port] fixup! plugins/buildui: Port GbpBuilduiLogPane to GTK4



commit 3aec74a33b00116c0e72e7b1207ef3e3b8a7510d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Apr 26 19:57:45 2022 -0300

    fixup! plugins/buildui: Port GbpBuilduiLogPane to GTK4

 src/plugins/buildui/gbp-buildui-log-pane.c | 28 ----------------------------
 1 file changed, 28 deletions(-)
---
diff --git a/src/plugins/buildui/gbp-buildui-log-pane.c b/src/plugins/buildui/gbp-buildui-log-pane.c
index 1adcddfda..22f9ade55 100644
--- a/src/plugins/buildui/gbp-buildui-log-pane.c
+++ b/src/plugins/buildui/gbp-buildui-log-pane.c
@@ -337,28 +337,6 @@ gbp_buildui_log_pane_save_in_file (GSimpleAction *action,
   IDE_EXIT;
 }
 
-static void
-terminal_size_allocate (GbpBuilduiLogPane *self,
-                        GtkAllocation     *allocation,
-                        IdeTerminal       *terminal)
-{
-  VtePty *pty;
-  gint rows = 0;
-  gint columns = 0;
-
-  g_assert (GBP_IS_BUILDUI_LOG_PANE (self));
-  g_assert (allocation != NULL);
-  g_assert (IDE_IS_TERMINAL (terminal));
-
-  pty = vte_terminal_get_pty (VTE_TERMINAL (self->terminal));
-
-  if (self->pipeline != NULL && pty != NULL)
-    {
-      if (vte_pty_get_size (pty, &rows, &columns, NULL))
-        _ide_pipeline_set_pty_size (self->pipeline, rows, columns);
-    }
-}
-
 static void
 gbp_buildui_log_pane_init (GbpBuilduiLogPane *self)
 {
@@ -372,12 +350,6 @@ gbp_buildui_log_pane_init (GbpBuilduiLogPane *self)
 
   panel_widget_set_icon_name (PANEL_WIDGET (self), "builder-build-info-symbolic");
 
-  g_signal_connect_object (self->terminal,
-                           "size-allocate",
-                           G_CALLBACK (terminal_size_allocate),
-                           self,
-                           G_CONNECT_SWAPPED | G_CONNECT_AFTER);
-
   g_signal_connect_object (self->terminal,
                            "window-title-changed",
                            G_CALLBACK (gbp_buildui_log_pane_window_title_changed),


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