Skip to content

Commit

Permalink
Revert "Attempt to fix darktable-org#18110."
Browse files Browse the repository at this point in the history
This reverts commit 6df6993.
  • Loading branch information
esq4 authored Jan 19, 2025
1 parent 8a412f3 commit 24bb5ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gui/gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -4395,7 +4395,6 @@ void dt_gui_cursor_set_busy()
GtkWidget *toplevel = darktable.gui->ui->main_window;
GdkWindow *window = gtk_widget_get_window(toplevel);
busy_prev_cursor = gdk_window_get_cursor(window);
g_object_ref(busy_prev_cursor);
GdkCursor *watch = gdk_cursor_new_for_display(gtk_widget_get_display(toplevel), GDK_WATCH);
gdk_window_set_cursor(window, watch);
g_object_unref(watch);
Expand All @@ -4420,7 +4419,6 @@ void dt_gui_cursor_clear_busy()
GdkWindow *window = gtk_widget_get_window(toplevel);
gdk_window_set_cursor(window, busy_prev_cursor);
dt_gui_process_events();
g_object_unref(busy_prev_cursor);
busy_prev_cursor = NULL;
dt_control_allow_change_cursor();
gtk_grab_remove(darktable.control->progress_system.proxy.module->widget);
Expand Down

0 comments on commit 24bb5ca

Please sign in to comment.