Skip to content

background: Fix warning when opening background selection dialog

This was due to the callback occurring before all the widgets had been added to the dialog.

Also remove the workaround for the handler occuring during/after dispose by using g_signal_connect_object.

The warnings were: (gnome-control-center:13048): Gtk-CRITICAL **: 09:42:17.841: gtk_bin_get_child: assertion 'GTK_IS_BIN (bin)' failed (gnome-control-center:13048): Gtk-CRITICAL **: 09:42:17.841: gtk_icon_view_unselect_all: assertion 'GTK_IS_ICON_VIEW (icon_view)' failed

Edited by Robert Ancell

Merge request reports