8ed94f67f1
* window: Ensure tabs_menu != NULL when updating * screen: Ensure working dir is not NULL * Do not resize the window on zoom * docs: added documentation and cli parsing for --class option * Use TerminalWindow's screen to test for windowing system * Use dropdown's display rather than default display * Avoid warning when widget display is not the default display * Fix segfault when there are both Wayland and X11 displays * screen: Avoid type check on released variable * preferences: Initialize GdkRGBA variable * screen: Cancel async spawn of child in finalize() * Improve error message for empty custom command * Check for screen pointers equality before destroying last screen * screen: Fix gtk_container_get_children leaks * screen: Fix string leak in terminal_screen_paste_unsafe_text * window: Fix leak in terminal_window_get_working_directory * window: Fix leak in terminal_window_menu_add_section * main: Fix string array leak * terminal: Fix spelling error * prefs-dialog: Fix AtkRelationSet leak * Fix gtk-layer-shell includes * preferences: Add missing sanity check * Preferences: maximize new windows * Fix running a command as a login shell * scan-build: Fix core.NullDereference and core.CallAndMessage * build: clang: Silence -Wcast-align * Update `.gitignore` * Rename theme file to desktop for gettext detection * I18n: Update po/LINGUAS list * build: Use XDT_VERSION_INIT and get rid of configure.ac.in * build: Switch from intltool to gettext * Cancel by default in unsafe past dialog * Restore "Text blinks" tooltip * Revert "fix typo" * Translation Updates - Remove obsolote gxo-282.patch - Rename xfce4-terminal-relax-x11-version.patch to relax-x11-version.patch and refresh it. OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=70
18 lines
625 B
Diff
18 lines
625 B
Diff
diff -rup a/terminal/terminal-window.c b/terminal/terminal-window.c
|
|
--- a/terminal/terminal-window.c 2024-01-23 20:10:59.000000000 +0100
|
|
+++ b/terminal/terminal-window.c 2024-02-07 12:31:32.599468621 +0100
|
|
@@ -2573,11 +2573,11 @@ terminal_window_do_close_tab (TerminalSc
|
|
gtk_notebook_set_current_page (notebook, page_num);
|
|
}
|
|
|
|
- gtk_widget_destroy (GTK_WIDGET (screen));
|
|
-
|
|
/* reconnect the accels of the active terminal */
|
|
if (screen != window->priv->active)
|
|
terminal_screen_widget_append_accels (window->priv->active, window->priv->accel_group);
|
|
+
|
|
+ gtk_widget_destroy (GTK_WIDGET (screen));
|
|
}
|
|
|
|
|