From 055b47af0e1a830e556989372f3689bbd36b639d Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Tue, 2 Jul 2024 09:46:51 -0400 Subject: [PATCH] nemo-icon-container.c: Don't tie the interactive search box with the window's lifetime. In 03e6c7305b9c, the search window was set to be destroyed with its parent window. This was incorrect - the window is specific to the icon view, not the window, and should be destroyed with the view. Fixes #3423 --- libnemo-private/nemo-icon-container.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libnemo-private/nemo-icon-container.c b/libnemo-private/nemo-icon-container.c index d56c4314f..8652643f2 100644 --- a/libnemo-private/nemo-icon-container.c +++ b/libnemo-private/nemo-icon-container.c @@ -4038,7 +4038,6 @@ nemo_icon_container_ensure_interactive_directory (NemoIconContainer *container) gtk_window_set_transient_for (GTK_WINDOW (container->details->search_window), GTK_WINDOW (toplevel)); - gtk_window_set_destroy_with_parent (GTK_WINDOW (container->details->search_window), TRUE); gtk_window_set_type_hint (GTK_WINDOW (container->details->search_window), GDK_WINDOW_TYPE_HINT_COMBO);