Commit b6dee14a authored by Evangelos Foutras's avatar Evangelos Foutras 🐱 Committed by Alexander Schwinn
Browse files

Fix signal disconnect in thunar_window_unrealize

Commit c2a97b89 replaced the gtk_widget_queue_draw callback with
thunar_window_clipboard_manager_changed. The same change needs to be
made in thunar_window_unrealize, which was still referencing the old
function (gtk_widget_queue_draw).

Fixes: c2a97b89 ("Fix file-icon update when file is cut (Issue #588)")
Closes: #653
parent a5ec0d35
......@@ -1554,7 +1554,7 @@ thunar_window_unrealize (GtkWidget *widget)
ThunarWindow *window = THUNAR_WINDOW (widget);
/* disconnect from the clipboard manager */
g_signal_handlers_disconnect_by_func (G_OBJECT (window->clipboard), gtk_widget_queue_draw, widget);
g_signal_handlers_disconnect_by_func (G_OBJECT (window->clipboard), thunar_window_clipboard_manager_changed, widget);
/* let the GtkWidget class unrealize the window */
(*GTK_WIDGET_CLASS (thunar_window_parent_class)->unrealize) (widget);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment