gtk_selection_clear_targets() does not exist on GTK 1, so ifdef it.