charpick: Re-add lost GTK_DIALOG_DESTROY_WITH_PARENT
Fix build with GSEAL

Use gdk_drag_context_list_targets for both Gtk+ versions.
And use gdk_visual_get_depth instead of visual->depth